SurfSense/surfsense_backend/tests/unit
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
..
adapters test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
agents fix(chat): normalize provider-safe message history 2026-06-12 02:17:37 +05:30
automations refactor(agents): consolidate chat runtime infra under chat/runtime 2026-06-05 13:19:24 +02:00
connector_indexers feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
connectors chore: ran linting 2026-04-07 05:55:39 +05:30
db feat: improved agent streaming 2026-04-29 07:20:31 -07:00
e2e_fakes test(backend): enhance Drive file filtering and add unit tests for _drive_list_files 2026-05-06 17:58:58 +05:30
etl_pipeline chore: linting 2026-05-15 17:33:44 -07:00
event_bus refactor: anonymous/free chat experience 2026-05-31 15:58:21 -07:00
gateway chore: linting 2026-06-09 00:42:26 -07:00
google_unification chore: ran linting 2026-05-09 05:28:09 +05:30
indexing_pipeline refactor(tests): Update tests to remove summary references and adjust for embedding errors 2026-06-04 01:51:21 +05:30
middleware chore: linting 2026-06-09 00:42:26 -07:00
notifications feat(refactor): refactor payment system to implement unified credit wallet. 2026-06-10 16:49:03 -07:00
observability Merge remote-tracking branch 'upstream/dev' into improvement-podcast-graph 2026-06-11 23:14:49 +02:00
podcasts fix(podcasts): keep legacy episodes readable and guard regenerate 2026-06-11 12:43:07 +02:00
routes fix(chat): harden image generation model routing 2026-06-11 18:22:45 +05:30
services Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:15:28 +05:30
tasks feat(error-handling): implement LLM error adaptation and classification for chat streaming 2026-06-12 05:03:14 +05:30
utils test(backend): add OAuth state security unit tests 2026-05-06 17:18:31 +05:30
__init__.py test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
test_error_contract.py chore: linting 2026-04-22 01:05:31 -07:00
test_obsidian_plugin_indexer.py chore: linting 2026-04-27 14:04:50 -07:00