agent-zero/extensions/python/_functions
Mohammad Hijjawi 2f8a06515e Surface output-limit truncation instead of misformat retries
Record the Chat Completions finish_reason on LLMResult and add a
message_loop_result extension that, when a turn stopped at the output
token limit (finish_reason "length"/"max_tokens") without a complete
tool request, retries with a warning naming truncation as the cause
rather than the generic misformat message. The warning counts toward
the existing unusable-response loop limit.

Context Doctor now leaves results already handled by an earlier
extension untouched, so truncated envelopes are not repaired and
dispatched with cut-off arguments.

Fixes #1836
2026-10-13 19:38:05 +02:00
..
__main__/init_a0/end refactor: migrate extension system to use deep directory paths based on module and qualname 2026-03-22 21:48:01 +01:00
agent Surface output-limit truncation instead of misformat retries 2026-10-13 19:38:05 +02:00
AGENTS.md Preserve native Responses history within prepared prompts 2026-09-06 22:08:21 +02:00