Files
ChatMock/chatmock
Alexx fd900eb7af fix: Add graceful error handling for ChunkedEncodingError during streaming (#57)
Fixes connection interruptions from ChatGPT API by catching ChunkedEncodingError
and gracefully ending the stream with [DONE] instead of returning 500 errors.

Two-level error handling:
1. Catches errors during stream initialization
2. Catches errors during stream iteration

This prevents abrupt failures when the upstream connection is interrupted mid-response.
2025-10-20 22:38:47 +05:00
..
2025-08-19 17:21:00 +05:00
2025-09-16 17:58:41 +05:00
2025-09-25 20:05:54 +05:00
2025-08-19 17:21:00 +05:00
2025-09-25 16:43:55 +05:00
2025-08-19 17:21:00 +05:00
2025-09-25 20:05:54 +05:00
2025-09-25 16:43:55 +05:00
2025-09-25 16:43:55 +05:00
2025-08-19 17:21:00 +05:00
2025-09-16 17:58:41 +05:00