agent-zero/extensions/python/_functions/agent/Agent
Alessandro 32aa95e8dd Preserve native Responses history within prepared prompts
Project intact call/result groups from the current prepared local Responses
input, retaining original IDs and encrypted reasoning. Bind replay to the
visible prefix and tool scope; preserve summaries, masking, protocol, extras
and untouched Chat/fallback input. Keep request conversion in Responses helpers.

Recover output items omitted by terminal stream envelopes and keep native
call commentary out of plain-response finalization. Do not rewrite stored
chats or change tool execution policy.

Validation: 1632 root tests passed, one skipped; framework prepared-prompt
probe passed. Live Codex and Venice presets completed terminal calls, native
replay advanced from three to four calls, and the viewer reported 57% cache hit.
2026-09-06 22:08:21 +02:00
..
handle_exception/end refactor(chat_branching): ID-based log ↔ history linking for precise branch trimming 2026-03-24 03:04:09 -07:00
hist_add_ai_response/end Preserve native Responses history within prepared prompts 2026-09-06 22:08:21 +02:00
hist_add_warning/end Count thoughts_fallback warning toward unusable-response limit 2026-09-04 11:18:17 +00:00
prepare_prompt Scope settings snapshots to prompt builds 2026-08-23 06:08:41 +02:00