mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-07-09 17:08:29 +00:00
Clear the active Responses provider continuation when automatic history compression or manual chat compaction rewrites local history, while preserving stored response IDs for cleanup. Add focused regressions for both compression paths so compacted chats do not keep stale provider-side context.
803 B
803 B
Message Loop End Extensions DOX
Purpose
- Own backend behavior that runs after a message loop completes.
Ownership
- Ordered Python files own history organization and chat persistence at loop end.
Local Contracts
- Preserve history consistency before saving chats.
- Do not skip persistence for successful loops unless the hook contract explicitly permits it.
- History compression that rewrites local history must clear the active Responses provider continuation while preserving stored response IDs for cleanup.
Work Guidance
- Coordinate changes with chat serialization, history organization, and WebUI refresh behavior.
Verification
- Smoke-test sending a message, reloading the chat, and checking persisted history after changes.
Child DOX Index
No child DOX files.