mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 09:28:56 +00:00
Recovered turns showed no hint that the reply was kept as thoughts and retried, because earlier notices had been silenced and the new non-action prose branch logged none. The notices return as utility rows following the Show utility messages preference and carry the warning message id so they stay attached to their history warning. Both plain-text rows share one wording adapted from the pre-silence fallback prompt, following the surviving fw.msg_reasoning_only_response.md pattern and the recovery-notice sync contract that keeps the core and plugin rows identical. Validation: pytest tests/test_message_loop_result.py plugins/_context_doctor/tests/test_context_doctor.py tests/test_leaked_tool_call_integration.py tests/test_unusable_response_loop.py tests/test_plain_response_logging.py tests/test_responses_architecture.py tests/test_prompt_catalogs.py (7 failed, 327 passed in 9.28s; the failures reproduce identically on the base commit)
917 B
917 B
Response Stream End Extensions DOX
Purpose
- Own finalization of assistant response stream content.
Ownership
- Ordered Python files own final masking and stream-end log updates.
Local Contracts
- Preserve final masking before response content is considered complete.
- Keep log state consistent with streamed chunks and final response text.
- Do not auto-promote native reasoning summaries into
thoughtsduring normal response finalization; reasoning andthoughtsremain separate channels. The explicit exception is reasoning-only recovery inmessage_loop_result, which preserves the emitted reasoning as thoughts before retrying with autilnotice.
Work Guidance
- Coordinate finalization changes with live response and message rendering behavior.
Verification
- Smoke-test response completion and persisted message display after changes.
Child DOX Index
No child DOX files.