mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-08-03 21:23:33 +00:00
Guard partially parsed tool arguments while streaming and render both text and legacy message response fields. Keep live response logs synchronized without allowing incomplete code arguments to raise.
781 B
781 B
Response Stream Extensions DOX
Purpose
- Own handling of full assistant response stream updates.
Ownership
- Ordered Python files own response logging, include-alias replacement, and live response updates.
Local Contracts
- Keep streaming output synchronized with UI log items.
- Treat parsed stream snapshots as partial data; nested tool fields may be
Noneuntil their values arrive. - Preserve include-alias replacement semantics where prompts/tools rely on them.
- Do not expose unmasked secrets in live responses.
Work Guidance
- Coordinate stream changes with chunk/end hooks and message rendering.
Verification
- Smoke-test streamed responses, live updates, and include alias replacement after changes.
Child DOX Index
No child DOX files.