You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 092fbf8
Browse filesBrowse the repository at this point in the historyBrowse files
fix(channel-monitor): raise IQ token budget to stop reasoning truncation
gpt-6-astra often needs >=512 reasoning tokens for the candy quiz; with
monitorIQMaxTokens=512, accounts that enforce the cap get truncated inside
the reasoning phase and return 2xx with an empty message content, which the
monitor reported as "iq: empty upstream text" test errors. Codex OAuth
accounts strip max_output_tokens upstream, so rotation made the failure
intermittent. applyMaxTokensOverride rewrites max_tokens after body_override
merge, so the budget can only be changed here.
Raise the budget to 2048 (observed reasoning peak 516 + ~500-token answer;
request stays well inside the 3-minute IQ timeout) and enrich the empty-text
branch with finish_reason/status, usage token counts, and a body snippet via
iqEmptyTextMessage, still funneled through sanitizeErrorMessage and
truncateMessage.
0 commit comments