SurfSense/surfsense_backend/tests/unit/tasks/chat
CREDO23 0354f73f29 refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1)
First slice of promoting the shared agent toolkit out of the misnamed
`new_chat` package into the cross-agent `app/agents/shared` kernel.

`errors.py` is a leaf module (no intra-package deps) consumed by the
multi-agent chat, the chat streaming flows/monolith, and tests — i.e. it is
shared infrastructure, not single-agent code. Moved it verbatim to
`app.agents.shared.errors` and flipped all 12 importers. No re-export shim
remains since zero importers needed it.

Behavior-preserving: identical class/enum definitions; only the import path
changes. 1208 agent + chat-task tests green.
2026-06-04 12:13:55 +02:00
..
streaming refactor(agents): move error taxonomy to app/agents/shared/errors (slice 1) 2026-06-04 12:13:55 +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