Im getting errors like: ```Unclosed connector conn...
# agents
m
Im getting errors like:
Copy code
Unclosed connector
connections: ['deque([(<aiohttp.client_proto.ResponseHandler object at 0x7f353aa83ee0>, 724.723579819)])']
connector: <aiohttp.connector.TCPConnector object at 0x7f354a129610>
Copy code
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f354dd70690>
when using gemini as the LLM, but it doesnt seem to be breaking my app
r
What version are you using?
pip freeze |grep livekit
m
this is my requirements.txt
Copy code
livekit-agents[openai,silero,deepgram,cartesia,turn-detector,elevenlabs,assemblyai,anthropic,google]>=1.2.4
livekit-plugins-noise-cancellation==0.2.5
@refined-appointment-81829
Copy code
livekit==1.0.12
livekit-agents==1.2.5
livekit-api==1.0.5
livekit-blingfire==1.0.0
livekit-plugins-anthropic==1.2.5
livekit-plugins-assemblyai==1.2.5
livekit-plugins-cartesia==1.2.5
livekit-plugins-deepgram==1.2.5
livekit-plugins-elevenlabs==1.2.5
livekit-plugins-google==1.2.5
livekit-plugins-noise-cancellation==0.2.5
livekit-plugins-openai==1.2.5
livekit-plugins-silero==1.2.5
livekit-plugins-turn-detector==1.2.5
livekit-protocol==1.0.5
r
There used to be this issue that looks similar but was fixed a while back: https://github.com/livekit/agents/issues/2729
m
hmm interesting is my version ok ?
the typings i see are:
Copy code
ChatModels = Literal[
    "gemini-2.5-pro-preview-05-06",
    "gemini-2.5-flash-preview-04-17",
    "gemini-2.5-flash-preview-05-20",
    "gemini-2.0-flash-001",
    "gemini-2.0-flash-lite-preview-02-05",
    "gemini-2.0-pro-exp-02-05",
    "gemini-1.5-pro",
]
i was using
"gemini-2.5-flash"
can i only use preview?
m
@boundless-wolf-70528
r
I am not sure. This was a Gemini issue. I am not sure what versions are best to use for them.
m
but livekit only has the literal typing of
Copy code
ChatModels = Literal[
    "gemini-2.5-pro-preview-05-06",
    "gemini-2.5-flash-preview-04-17",
    "gemini-2.5-flash-preview-05-20",
    "gemini-2.0-flash-001",
    "gemini-2.0-flash-lite-preview-02-05",
    "gemini-2.0-pro-exp-02-05",
    "gemini-1.5-pro",
]
does it not support any others, should this be updated?
r
Pretty sure you can set others if you want.