SurfSense/surfsense_backend/app/services
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
..
confluence chore: linting 2026-06-09 00:42:26 -07:00
dropbox chore: linting 2026-06-09 00:42:26 -07:00
gmail chore: linting 2026-06-09 00:42:26 -07:00
google_calendar chore: linting 2026-06-09 00:42:26 -07:00
google_drive chore: linting 2026-06-09 00:42:26 -07:00
linear chore: linting 2026-06-09 00:42:26 -07:00
mcp_oauth Harden Linear and Slack MCP subagent permissions. 2026-04-29 20:24:21 +02:00
memory feat: add no-update sentinel handling to save_memory function and corresponding unit tests 2026-05-20 15:03:35 +05:30
notion chore: linting 2026-06-09 00:42:26 -07:00
onedrive chore: linting 2026-06-09 00:42:26 -07:00
streaming feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
__init__.py Fixed all ruff lint and formatting errors 2025-07-24 14:43:48 -07:00
ai_file_sort_service.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
auto_model_pin_service.py Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:15:28 +05:30
auto_reload_service.py feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
billable_calls.py Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:15:28 +05:30
chat_comments_service.py chore: linting 2026-06-09 00:42:26 -07:00
chat_session_state_service.py Add chat session state service 2026-01-20 16:31:40 +02:00
composio_service.py feat: enhance task management and timeout configurations in multi-agent chat 2026-05-27 14:58:10 -07:00
connector_service.py refactor(config): centralize configuration management across modules 2026-06-08 13:50:16 -07:00
docling_service.py feat(backend): Remove LLM summaries from document indexing 2026-06-04 00:50:19 +05:30
etl_credit_service.py feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
export_service.py Harden vision LLM fallback, folder upload validation, and export memory 2026-04-09 16:14:53 +02:00
folder_service.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
global_model_catalog.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
image_gen_router_service.py fix(chat): harden image generation model routing 2026-06-11 18:22:45 +05:30
kokoro_tts_service.py feat: Added Local TTS (Kokoro TTS) Support 2025-08-13 17:25:34 -07:00
llm_error_adapter.py feat(error-handling): implement LLM error adaptation and classification for chat streaming 2026-06-12 05:03:14 +05:30
llm_router_service.py feat(chat): route models by provider capabilities 2026-06-11 18:22:23 +05:30
llm_service.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
model_capabilities.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
model_connection_service.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
model_list_service.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
model_resolver.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
new_streaming_service.py Include optional metadata on tool and thinking-step SSE payloads. 2026-05-08 22:47:58 +02:00
obsidian_plugin_indexer.py feat(backend): Remove LLM summaries from document indexing 2026-06-04 00:50:19 +05:30
openrouter_integration_service.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
openrouter_model_normalizer.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
pricing_registration.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
provider_capabilities.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
provider_registry.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
public_chat_service.py refactor(podcasts): stream public podcast audio via storage backend 2026-06-10 21:44:57 +02:00
quality_score.py refactor(model-connections): move backend model connections to provider capabilities 2026-06-12 02:17:22 +05:30
quota_checked_vision_llm.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
reranker_service.py roadmap(1.3): Update citation prompt to use new whole document structure 2025-12-14 22:07:31 -08:00
revert_service.py refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
stt_service.py chore: updated docs & refactored sst_service.py 2025-10-15 14:31:38 -07:00
task_dispatcher.py feat(backend): Remove LLM summaries from document indexing 2026-06-04 00:50:19 +05:30
task_logging_service.py chore: removed chinese comments to pass ruff checks and updated migration nos 2025-10-13 20:07:32 -07:00
token_quota_service.py feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
token_tracking_service.py fix(tokens): use canonical prompt_tokens_details path for cache fields 2026-05-20 09:55:39 +02:00
turnstile_service.py feat: no login experience and prem tokens 2026-04-15 17:02:00 -07:00
user_tool_allowlist.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
vision_llm_router_service.py feat(chat): route models by provider capabilities 2026-06-11 18:22:23 +05:30
vision_model_list_service.py feat(chat): route models by provider capabilities 2026-06-11 18:22:23 +05:30
web_search_service.py chore: ran linting 2026-03-17 04:40:46 +05:30