refusals-and-fallback changedbuild-with-claude/refusals-and-fallback
Nearest release: v2.1.277, published 4 hours before 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−6removed
From line
29
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits35to this page, all time
The whole hunk
from line 29, old and new numbered
/
from line 29
2929 "max_tokens": 1024,
3030 "fallbacks": "default",
3131 "messages": [{"role": "user", "content": "Hello, Claude"}]
32 }' | jq -r '.model'
32 }'
3333 ```
3434
3535 ```bash CLI
from line 38
3838 --max-tokens 1024 \
3939 --message '{"role":"user","content":"Hello, Claude"}' \
4040 --fallbacks default \
41 --beta server-side-fallback-2026-07-01 \
42 --transform model --raw-output
41 --beta server-side-fallback-2026-07-01
4342 ```
4443
4544 ```python Python
from line 503
504503 "max_tokens": 1024,
505504 "fallbacks": [{"model": "claude-opus-4-8"}],
506505 "messages": [{"role": "user", "content": "Hello, Claude"}]
507 }' | jq -r '.model'
506 }'
508507 ```
509508
510509 ```bash CLI
from line 512
513512 --max-tokens 1024 \
514513 --message '{"role":"user","content":"Hello, Claude"}' \
515514 --fallbacks '[{"model":"claude-opus-4-8"}]' \
516 --beta server-side-fallback-2026-07-01 \
517 --transform model --raw-output
515 --beta server-side-fallback-2026-07-01
518516 ```
519517
520518 ```python Python
No line in this hunk matches that.