fallback-credit changedbuild-with-claude/fallback-credit
Nearest release: v2.1.302, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+4added
Lines−4removed
From line
247
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 247, old and new numbered
/
from line 247
247247 [
248248 new() { Role = Role.User, Content = "Hello, Claude" },
249249 ];
250 MessageCreateParams Request(string model) => new()
250 MessageCreateParams Request(Model model) => new()
251251 {
252252 Model = model,
253253 MaxTokens = 1024,
from line 254
254254 Messages = requestMessages,
255255 Betas = [beta],
256256 };
257 var response = await client.Beta.Messages.Create(Request("claude-fable-5"));
257 var response = await client.Beta.Messages.Create(Request(Model.ClaudeFable5));
258258
259259 if (
260260 response.StopReason == BetaStopReason.Refusal
from line 261
261261 && response.StopDetails is { FallbackCreditToken: string token } details
262262 )
263263 {
264 var exactBody = Request("claude-opus-4-8") with { FallbackCreditToken = token };
264 var exactBody = Request(Model.ClaudeOpus4_8) with { FallbackCreditToken = token };
265265 var attempt = exactBody;
266266 // Prefer the continuation shape unless the claim is false
267267 if (details.FallbackHasPrefillClaim is not false)
from line 308
308308 when (!retryError.Message.Contains("redemption temporarily unavailable"))
309309 {
310310 // The token itself was rejected: forfeit it and retry without.
311 response = await client.Beta.Messages.Create(Request("claude-opus-4-8"));
311 response = await client.Beta.Messages.Create(Request(Model.ClaudeOpus4_8));
312312 }
313313 }
314314 }
No line in this hunk matches that.