SurfSense/surfsense_backend/app/agents
CREDO23 57f11700c7 refactor(agents): hoist subagent middleware-stack recipe into main_agent
subagents/shared/middleware/ held build_subagent_middleware_stack, but no
subagent package imports it -- its only caller is main_agent/middleware/stack.py
(the generic pack_subagent builder merely consumes the resulting dict at
runtime). It is main_agent's policy for which middleware to thread into
subagents, so it belongs with its caller:

  subagents/shared/middleware/middleware_stack.py
  -> main_agent/middleware/subagent_stack.py

subagents/shared/ now holds only genuinely subagent-shared code (md_file_reader,
snippets, spec, subagent_builder, hitl).
2026-06-05 13:32:06 +02:00
..
chat refactor(agents): hoist subagent middleware-stack recipe into main_agent 2026-06-05 13:32:06 +02:00
podcaster cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07: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