SurfSense/surfsense_backend/app/tasks/chat/streaming/errors
Anish Sarkar 8e8cf96faa feat(error-handling): implement LLM error adaptation and classification for chat streaming
- Introduced LLMErrorCategory and adapt_llm_exception to normalize LLM exceptions.
- Updated llm_retryable_message and llm_permanent_message to utilize the new adaptation logic.
- Enhanced classify_stream_exception to classify provider errors and return user-friendly messages.
- Added tests for error classification and adaptation to ensure robustness.
- Updated frontend error handling to display appropriate messages based on new classifications.
2026-06-12 05:03:14 +05:30
..
__init__.py Add chat streaming error classification, helpers, and StreamResult. 2026-05-06 20:08:48 +02:00
classifier.py feat(error-handling): implement LLM error adaptation and classification for chat streaming 2026-06-12 05:03:14 +05:30
emitter.py Add chat streaming error classification, helpers, and StreamResult. 2026-05-06 20:08:48 +02:00