Skip to content

autofix: 1784718282.252239 [draft/unverified] - #12

Draft
aproorg-repo-reader[bot] wants to merge 1 commit into
mainfrom
autofix/1784718282-252239-litellm-90fb726
Draft

aproorg-repo-reader[bot] wants to merge 1 commit into
mainfrom
autofix/1784718282-252239-litellm-90fb726

Conversation

@aproorg-repo-reader

Copy link
Copy Markdown

Automated fix by the autofixer harness.

Report: LiteLLM: unclosed aiohttp client session
Unclosed client session client_session: <aiohttp.client.ClientSession object at 0x...>
🔧 litellm · 33x · ⚠️ Open
💡 HTTP sessions are not being properly closed after use — audit async LLM call paths (especially streaming routes) to ensure async with aiohttp.ClientSession() is used or sessions are explicitly closed in finally blocks….

Repro test: tests/autofix/test_aiohttp_transport_session_leak.py (fails on base, passes on the fix; the harness re-runs it).

⚠️ Draft / unverified: harness re-verify failed: repro still fails after the patch: /usr/bin/python3.12: No module named pytest
. A human should review before merge.

Verified in-session only; not yet deployed to dev. Human merge is the prod gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants