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. |
||
|---|---|---|
| .. | ||
| agent | ||
| context | ||
| contract | ||
| errors | ||
| flows | ||
| graph_stream | ||
| handlers | ||
| helpers | ||
| relay | ||
| shared | ||
| __init__.py | ||