SurfSense/surfsense_backend/app/agents
CREDO23 9c845d562e refactor(agents): colocate main-agent middleware under main_agent/ slice
Vertical-slice colocation: all main-agent code should live under
main_agent/ instead of being split across a parallel middleware/main_agent
tree. Move multi_agent_chat/middleware/main_agent/ -> main_agent/middleware/
and its assembler middleware/stack.py -> main_agent/middleware/stack.py, so
the main-agent slice is self-contained (graph, runtime, system_prompt, tools,
middleware).

Genuinely cross-slice middleware (middleware/shared/, middleware/subagent/)
stays under multi_agent_chat/middleware/ for a later slice; the moved builders
now reference it via absolute imports.

Pure move + import rewrite (git-tracked renames). Verified: full unit suite
green (2430 passed, 1 skipped), including test_import_all and the
checkpointed-subagent middleware suite.
2026-06-04 18:03:49 +02:00
..
anonymous_chat refactor(agents): promote anonymous_agent to its own anonymous_chat/ package (slice 8) 2026-06-04 13:25:23 +02:00
multi_agent_chat refactor(agents): colocate main-agent middleware under main_agent/ slice 2026-06-04 18:03:49 +02:00
podcaster cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
shared test(agents): cover live filesystem middleware, retire dead twin 2026-06-04 17:46:49 +02:00
video_presentation cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
__init__.py feat: Added chat_history to researcher agent 2025-05-10 20:06:19 -07:00