mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
The deliverables subagent runs its own generate_image/podcast/report/resume/ video_presentation (via tools/index.py); the shared/tools copies had zero production importers — classic dead twins. Removed them so deliverable tools live only in their vertical slice. While repointing the 2 stranded unit tests at the LIVE deliverables modules, found the OpenRouter empty-api_base defense (resolve_api_base) existed ONLY in the dead shared generate_image, never propagated to the live multi-agent copy. Ported the fix into deliverables/tools/generate_image.py (both the global-config and user-DB-config branches) so an empty api_base no longer falls through to LiteLLM's global api_base (Azure) and 404s. Tests now exercise the live Command/receipt-returning tools (invoke the raw coroutine with a hand-built ToolRuntime; resume progress events neutralized). |
||
|---|---|---|
| .. | ||
| streaming | ||
| __init__.py | ||
| test_agent_billing_resolver.py | ||
| test_ai_file_sort_service.py | ||
| test_ai_sort_task_dedupe.py | ||
| test_auto_model_pin_service.py | ||
| test_auto_pin_image_aware.py | ||
| test_billable_call.py | ||
| test_docling_image_support.py | ||
| test_folder_hierarchy.py | ||
| test_image_gen_api_base_defense.py | ||
| test_llm_router_pool_filter.py | ||
| test_memory_service.py | ||
| test_openrouter_integration_service.py | ||
| test_openrouter_legacy_config.py | ||
| test_or_health_enrichment.py | ||
| test_pricing_registration.py | ||
| test_provider_api_base.py | ||
| test_provider_capabilities.py | ||
| test_quality_score.py | ||
| test_quota_checked_vision_llm.py | ||
| test_revert_filesystem_tools.py | ||
| test_revert_service.py | ||
| test_supports_image_input.py | ||
| test_token_quota_service_cost.py | ||
| test_vision_llm_api_base_defense.py | ||