SurfSense/surfsense_backend/tests/unit/services
CREDO23 24b62a63b4 refactor(agents): introduce chat/ category; dissolve top-level agents/shared
Recursive shared-folder rule: a shared/ must be shared by ALL siblings at its
level. The kernel (context, compaction, retry_after, web_search) was shared by
only 2 of the agents -- anonymous_chat + multi_agent_chat -- never by podcaster
or video_presentation. Those 2 are the "chat" category, so their shared code
belongs in that category's shared/, not the top-level one.

  app/agents/anonymous_chat/   -> app/agents/chat/anonymous_chat/
  app/agents/multi_agent_chat/ -> app/agents/chat/multi_agent_chat/
  app/agents/shared/           -> app/agents/chat/shared/   (anon<->mac kernel)

Top-level app/agents/shared/ is gone: nothing was shared across all three
categories (chat / podcaster / video_presentation).

~289 import sites rewritten (app.agents.{anonymous_chat,multi_agent_chat,shared}
-> app.agents.chat.*); all moves are git renames (history preserved).
app/agents/ now: chat/, podcaster/, video_presentation/, runtime/.
2026-06-05 12:54:02 +02:00
..
streaming feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
__init__.py test: add unit tests for Dropbox integration, covering delta sync methods, file type filtering, and re-authentication behavior 2026-04-06 18:36:48 +05:30
test_agent_billing_resolver.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_ai_file_sort_service.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
test_ai_sort_task_dedupe.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
test_auto_model_pin_service.py feat: add preferred premium auto configuration logic and corresponding tests 2026-05-02 23:35:47 -07:00
test_auto_pin_image_aware.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_billable_call.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_docling_image_support.py chore: ran linting 2026-04-07 05:55:39 +05:30
test_folder_hierarchy.py feat: added ai file sorting 2026-04-14 01:43:30 -07:00
test_image_gen_api_base_defense.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_llm_router_pool_filter.py chore: ran linting 2026-05-02 03:36:13 +05:30
test_memory_service.py feat: add no-update sentinel handling to save_memory function and corresponding unit tests 2026-05-20 15:03:35 +05:30
test_openrouter_integration_service.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_openrouter_legacy_config.py chore: ran linting 2026-05-02 03:36:13 +05:30
test_or_health_enrichment.py feat(openrouter): blend per-model /endpoints health into quality score 2026-05-01 23:38:40 +05:30
test_pricing_registration.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_provider_api_base.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_provider_capabilities.py feat: fixed vision/image provider specific errors and fixed podcast/video streaming 2026-05-02 19:18:53 -07:00
test_quality_score.py chore: ran linting 2026-05-02 03:36:13 +05:30
test_quota_checked_vision_llm.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_revert_filesystem_tools.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_revert_service.py chore: cleaned comments slop 2026-04-28 23:52:37 -07:00
test_supports_image_input.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00
test_token_quota_service_cost.py feat: unified credits and its cost calculations 2026-05-02 14:34:23 -07:00
test_vision_llm_api_base_defense.py refactor(agents): introduce chat/ category; dissolve top-level agents/shared 2026-06-05 12:54:02 +02:00