mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-12 20:45:20 +02:00
- 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. |
||
|---|---|---|
| .. | ||
| streaming | ||
| __init__.py | ||
| test_content_builder.py | ||
| test_extract_chunk_parts.py | ||
| test_llm_history_normalizer.py | ||
| test_message_parts_normalizer.py | ||
| test_thinking_step_id_uniqueness.py | ||
| test_tool_input_streaming.py | ||