Files
oh-my-pi/packages
can1357 cbecab2be2 fix(ai): prevented OpenAI streams from hanging after terminal completion
- Added a terminal-aware async iterator that enforces a post-completion grace window, then ends iteration and optionally aborts the request.
- Wrapped OpenAI completions streaming with terminal detection of finish-reason and usage payloads so iteration stops once a response is logically complete.
- Stopped OpenAI Responses stream consumption at terminal response events instead of waiting for connection close timeouts.
2026-06-11 16:08:52 +02:00
..
2026-06-10 23:57:00 +02:00
2026-06-10 23:57:00 +02:00
2026-06-10 23:57:00 +02:00
2026-06-10 23:57:00 +02:00