Fix async generator cleanup to prevent uvloop crash on Python 3.12+

This commit is contained in:
Luke Payyapilli
2026-02-17 13:04:10 -05:00
parent 3537420d91
commit 247f0bbcd3
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).