fix(openai): close stream on cancellation to prevent socket leaks

This commit is contained in:
Luke Payyapilli
2026-02-04 09:52:26 -05:00
parent 6bcfb40d12
commit 55a3b10e70
3 changed files with 131 additions and 61 deletions

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

@@ -0,0 +1 @@
- Fixed OpenAI LLM stream not being closed on cancellation/exception, which could leak sockets.