SurfSense/surfsense_backend/tests/unit/tasks/chat
CREDO23 28b13ed25b refactor(agents): move context schema + state reducers to app/agents/shared (slice 2)
Continue promoting the shared agent toolkit out of `new_chat` into the
cross-agent `app/agents/shared` kernel.

- state_reducers.py: clean move (no single-agent importer); all 7 importers
  flipped to app.agents.shared.state_reducers.
- context.py: moved to app.agents.shared.context; flipped the multi-agent,
  app, automations, chat-flows and monolith importers. A thin re-export shim
  remains at new_chat/context.py because the not-yet-retired single-agent
  (chat_deepagent) and the new_chat package __init__ still import it; the shim
  goes away with the single-agent deletion.
- Updated the stream parity test's annotation normalizer to strip the new
  app.agents.shared.context. prefix (SurfSenseContextSchema.__module__ changed
  with the move), keeping monolith<->flows signature parity intact.

Behavior-preserving: definitions unchanged; only import paths move. 1219 tests green.
2026-06-04 12:19:22 +02:00
..
streaming refactor(agents): move context schema + state reducers to app/agents/shared (slice 2) 2026-06-04 12:19:22 +02:00
__init__.py feat: improved agent streaming 2026-04-29 07:20:31 -07:00
test_content_builder.py feat: improved document, folder mentions rendering 2026-05-09 22:15:51 -07:00
test_extract_chunk_parts.py feat: enhance tool input streaming and agent action handling for improved chat experience 2026-04-30 03:13:58 -07:00
test_thinking_step_id_uniqueness.py chore: linting 2026-05-15 17:33:44 -07:00
test_tool_input_streaming.py refactor(chat): stream agent events via stream_output and remove parity v2 flag 2026-05-07 19:40:10 +02:00