Hi, LK team, I saw the example code of Openai real...
# agents
l
Hi, LK team, I saw the example code of Openai real-time agent integrated with Anam avatar, but when I tried that with Gemini-live api, it always reported that there is compatibility problem between Gemini-live and Anam. How can I solve this problem?
r
I just ran this code: https://github.com/livekit/agents/blob/main/examples/avatar_agents/anam/agent_worker.py but changed openAI to this and it worked fine for me:
Copy code
session = AgentSession(
        #llm=openai.realtime.RealtimeModel(voice="alloy"),
        llm=google.beta.realtime.RealtimeModel(voice="Orus"),
        resume_false_interruption=False,
    )
Copy code
pip freeze |grep livekit
livekit==1.0.13
livekit-agents==1.2.11
livekit-api==1.0.5
livekit-blingfire==1.0.0
livekit-plugins-anam==1.2.11
livekit-plugins-assemblyai==1.2.11
livekit-plugins-bey==1.2.11
livekit-plugins-bithuman==1.2.11
livekit-plugins-cartesia==1.2.11
livekit-plugins-deepgram==1.2.11
livekit-plugins-elevenlabs==1.2.11
livekit-plugins-google==1.2.11
livekit-plugins-groq==1.2.11
livekit-plugins-noise-cancellation==0.2.5
livekit-plugins-openai==1.2.11
livekit-plugins-rime==1.2.11
livekit-plugins-silero==1.2.11
livekit-plugins-speechmatics==1.2.11
livekit-plugins-tavus==1.2.11
livekit-plugins-turn-detector==1.2.11
livekit-protocol==1.0.6
l
Thanks, Will, it worked now for me!