I’m trying to use Gemini Live as a realtime model,...
# agents
c
I’m trying to use Gemini Live as a realtime model, but I’m getting the following error when Python attempts to import plugins:
Copy code
AttributeError: module 'livekit.agents.llm' has no attribute 'ProviderTool'
The release notes for livekit-agents@1.3.10 (released two days ago) mention that ProviderTool was added for Gemini Realtime. Is this a known issue? Is there a workaround available?
l
It's not a known issue, how do you reproduce this? I tried running https://github.com/livekit-examples/agent-starter-python with an upgraded livekit-agents to
1.3.10
. And specifying the llm as follows, but I don't get the error:
Copy code
llm=google.realtime.RealtimeModel(
            model="gemini-2.5-flash-native-audio-preview-12-2025",
            voice="Puck",
            temperature=0.8,
            instructions="You are a helpful assistant",
        ),
✅ 1
c
I replaced the STT-LLM-TTS pipeline in an existing app with Gemini and ran into this error. If this isn’t a known issue, I’ll try using it in a new app to see whether something in my setup is causing the problem.