Files
Agent-Workbench/tests
Agent Workbench Dev dfb6029f33 fix(models): give an actionable diagnostic when output hits the token ceiling
A response stopped at finish_reason=length (or Messages max_tokens /
Responses max_output_tokens) is still rejected whole - a complete leading
tool call is never applied because a later call may be cut mid-argument.
Previously the model only saw a generic incompleteness message and would
repeat the same oversized multi-tool turn. Now these paths raise a shared
output_truncated diagnostic telling the model to split proposals into one
file per response. Regression covers streaming/non-streaming Chat,
Responses and Messages, including the AB sample shape.
2026-11-05 04:47:42 +08:00
..