SurfSense/surfsense_backend/app/agents
CREDO23 1a52166145 refactor(agents): place subagent middleware-stack by primary-built-for
Re-decide subagent_stack placement using the primary-built-for lens rather
than consumer-only: it assembles the middleware stack threaded into every
subagent, so its domain is subagents -- even though main_agent is its sole
caller (analogous to subagents/registry.py, also invoked from main_agent).

Since no subagent *sibling* imports it, it does not belong in subagents/shared/
but at the subagents/ package root:

  main_agent/middleware/subagent_stack.py
  -> subagents/middleware_stack.py
2026-06-05 13:43:02 +02:00
..
chat refactor(agents): place subagent middleware-stack by primary-built-for 2026-06-05 13:43:02 +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