mirror of
https://github.com/vercel-labs/fx.git
synced 2026-10-28 10:15:17 +08:00
The retry of an empty reply cut short by the provider's default used a flat 32,768-token limit and kept it for every later step, even when the catalog named a limit of its own. A known context window now bounds the limit, as it bounds a full-window limit, and a catalog limit wins on later steps. ChatGPT's Codex endpoint chooses its own output limit, so a retry there sent the same request again and said it was raising the limit. Providers now say whether a request carries fx's limit, and the retry runs only through one that does. The model cache and command replay comments now describe the bounded wait and the run id in each handle.