Repository navigation
v0.12.333
A paid answer's text no longer buys a second answer
The fallback loop read the text of every 200 for provider placeholders
("The AI service is temporarily overloaded. Please try again in a moment."),
repetition loops and runs of one character, and on a match moved to the next
model. A 200 from the gateway is a settled payment, so each move paid again:
one auto request walked the whole chain, six dispatches. The match was a
substring anywhere in the body, tool-call arguments included, so a model
quoting a web page or a tool result was enough to set it off.
On a paid attempt only the response's shape can now cause a fallback: an
error envelope, an empty choices array, or an empty turn. Its words cannot.
A paid placeholder reaches the caller as it is, one answer for one payment.
Free attempts, which cost nothing to repeat, are still read as before; the
NVIDIA free-tier loop that the degenerate-output check was written for is a
free model.
Reported in an outside threat model (source review).