mirror of
https://github.com/anthropics/skills.git
synced 2026-08-02 13:05:28 +08:00
Update claude-api skill: Claude Fable 5 and Claude Mythos 5 (#1294)
- Add Claude Fable 5 and Claude Mythos 5 to the model tables with pricing, context window, and model-selection guidance - Document Fable-specific API behavior: always-on adaptive thinking (explicit disabled returns 400), protected-thinking display and replay rules, new tokenizer (~30% more tokens), refusal stop reason with server-side fallbacks and SDK fallback middleware, 30-day data-retention requirement - Add the full Migrating to Claude Fable 5 guide section and checklist, including the Mythos Preview migration path - Refresh skill trigger description, effort/compaction/task-budget notes, caching minimums, structured-output and dynamic-filtering support tables
This commit is contained in:
@@ -182,11 +182,11 @@ For 1-hour TTL: `"cache_control": {"type": "ephemeral", "ttl": "1h"}`. Top-level
|
||||
|
||||
## Extended Thinking
|
||||
|
||||
> **Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6:** Use adaptive thinking. `budget_tokens` is removed on Opus 4.8 and 4.7 (400 if sent); deprecated on Opus 4.6 and Sonnet 4.6.
|
||||
> **Fable 5, Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6:** Use adaptive thinking. `budget_tokens` is removed on Fable 5, Opus 4.8, and 4.7 (400 if sent); deprecated on Opus 4.6 and Sonnet 4.6.
|
||||
> **Older models:** Use `"type": "enabled"` with `"budget_tokens": N` (must be < `max_tokens`, min 1024).
|
||||
|
||||
```bash
|
||||
# Opus 4.8 / 4.7 / 4.6: adaptive thinking (recommended)
|
||||
# Fable 5 / Opus 4.8 / 4.7 / 4.6: adaptive thinking (recommended)
|
||||
curl https://api.anthropic.com/v1/messages \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "x-api-key: $ANTHROPIC_API_KEY" \
|
||||
|
||||
Reference in New Issue
Block a user