SurfSense/surfsense_backend/app/agents
CREDO23 add9e14694 refactor(agents): colocate middleware into vertical slices
Eliminate the top-level multi_agent_chat/middleware/ package so each slice
owns its middleware (vertical-slice colocation):

- middleware/shared/   -> shared/middleware/        (cross-slice middleware)
- middleware/subagent/ -> subagents/shared/middleware/ (subagent stack)
- main_agent/middleware/ already colocated in Slice A

The moved shared/ subtree is internally consistent (all relative imports
stay within it), so only external absolute refs were rewritten. The
subagent stack's ..shared.* relatives were promoted to absolute paths to
the new shared/middleware/ location.

multi_agent_chat/ root is now: main_agent/, shared/, subagents/.
Verified: 2430 unit tests pass, 1 skipped (baseline unchanged).
2026-06-04 18:13:47 +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 middleware into vertical slices 2026-06-04 18:13:47 +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