Merge pull request #3763 from lukepayyapilli/fix/asyncgen-cleanup-uvloop-crash

Fix async generator cleanup to prevent uvloop crash on Python 3.12+
This commit is contained in:
Aleix Conchillo Flaqué
2026-02-19 11:14:00 -08:00
committed by GitHub
3 changed files with 92 additions and 8 deletions

1
changelog/3698.fixed.md Normal file
View File

@@ -0,0 +1 @@
- Fixed async generator cleanup in OpenAI LLM streaming to prevent `AttributeError` with uvloop on Python 3.12+ (MagicStack/uvloop#699).