SurfSense/surfsense_backend/tests/unit/services
CREDO23 aab95b9130 refactor(agents): move tools package to app/agents/shared (slice 6)
Relocate the entire new_chat/tools/ package (62 files incl. registry, hitl, MCP
cluster, and all connector subpackages: gmail/slack/discord/teams/drive/etc.)
to the shared kernel. The package turned out to be a clean cohesive cluster:
its only references to non-tools new_chat modules were comments, and its
middleware deps were already flipped to shared in slice 5c.

Flip 33 live importers (multi-agent, flows, routes, services, anonymous_agent,
tests). Re-export shims remain for the frozen single-agent stack: a package
__init__ mirroring the public surface (new_chat.__init__ imports it) plus
invalid_tool + registry submodule shims (chat_deepagent imports those).

Resolves slice 5c's two transient back-edges: shared/middleware/action_log
(TYPE_CHECKING ToolDefinition) and tool_call_repair (local INVALID_TOOL_NAME)
now point at app.agents.shared.tools.
2026-06-04 13:11:56 +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): move tools package to app/agents/shared (slice 6) 2026-06-04 13:11:56 +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): move llm_config + prompt_caching to app/agents/shared (slice 4b) 2026-06-04 12:41:52 +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): move llm_config + prompt_caching to app/agents/shared (slice 4b) 2026-06-04 12:41:52 +02:00