green-match-33925
08/27/2025, 6:04 PMTypeError: ClientSession.__init__() got an unexpected keyword argument
'proxy'
The issue is in livekit/agents/worker.py line 422 where it calls:
aiohttp.ClientSession(proxy=self._opts.http_proxy or None)
But newer aiohttp versions deprecated the proxy parameter.
Environment:
- livekit-agents[openai,silero,groq,google]~=1.2
- Modal's default aiohttp version
- Python 3.11
Is there a recommended aiohttp version to pin? Or plans to update agents
for modern aiohttp API?
Working locally but breaks in Modal containers.refined-appointment-81829
08/27/2025, 6:06 PMgreen-match-33925
08/27/2025, 6:29 PMrefined-appointment-81829
08/27/2025, 6:47 PMkind-france-46521
09/05/2025, 3:02 PMaiohttp to an older version in the Modal Image?
Hi @refined-appointment-81829, I'm not sure I follow your question. Would you be able to help me understand the scenario that you think would break this deployment?green-match-33925
09/05/2025, 5:02 PM