mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-10 01:18:29 +00:00
When Responses mode accepts a plain-text final answer, reuse the active generating log item as a finished response entry so the WebUI does not remain on the Calling LLM step. Skip normal tool JSON and existing live response-tool logs, and cover the fallback with focused regression tests.
1 KiB
1 KiB
Python Function Extensions DOX
Purpose
- Own implicit
@extensiblebackend hook implementations. - Preserve nested module, class/function, method, and
start/endextension layout.
Ownership
- Each nested path mirrors a Python module and qualname segment.
- Leaf
start/andend/directories own ordered extension files for that extensible function point.
Local Contracts
- Do not flatten nested qualname paths into retired legacy folder names.
- Extension functions must match the implicit hook's supplied arguments.
- Preserve ordering prefixes where exception handling, watchdog registration, or cleanup depends on them.
- Hooks that mirror persisted AI responses into UI logs must reuse existing stream log items and avoid duplicating live response-tool logs.
Work Guidance
- Keep implicit hook extensions narrow and colocated with the exact function point they extend.
Verification
- Run targeted tests for the affected function point after changes.
Child DOX Index
No child DOX files.