Skip to content

Commit 26224b8

Browse files
authored
chore(providers): remove claude-fable-5 model (#5020)
1 parent c3c3416 commit 26224b8

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

apps/sim/providers/anthropic/core.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,13 @@ const THINKING_BUDGET_TOKENS: Record<string, number> = {
8282

8383
/**
8484
* Checks if a model supports adaptive thinking (thinking.type: "adaptive").
85-
* Fable 5 supports ONLY adaptive thinking (always on; type: "disabled" is rejected).
8685
* Opus 4.8 and Opus 4.7 support ONLY adaptive thinking (no extended thinking / budget_tokens).
8786
* Opus 4.6 and Sonnet 4.6 support both extended and adaptive thinking — use adaptive.
8887
* Opus 4.5 supports effort but NOT adaptive thinking — it uses budget_tokens with type: "enabled".
8988
*/
9089
function supportsAdaptiveThinking(modelId: string): boolean {
9190
const normalizedModel = modelId.toLowerCase()
9291
return (
93-
normalizedModel.includes('fable-5') ||
9492
normalizedModel.includes('opus-4-8') ||
9593
normalizedModel.includes('opus-4.8') ||
9694
normalizedModel.includes('opus-4-7') ||
@@ -105,7 +103,7 @@ function supportsAdaptiveThinking(modelId: string): boolean {
105103
/**
106104
* Builds the thinking configuration for the Anthropic API based on model capabilities and level.
107105
*
108-
* - Fable 5, Opus 4.8, Opus 4.7: Uses adaptive thinking only (no extended thinking support)
106+
* - Opus 4.8, Opus 4.7: Uses adaptive thinking only (no extended thinking support)
109107
* - Opus 4.6, Sonnet 4.6: Uses adaptive thinking with effort parameter
110108
* - Other models: Uses budget_tokens-based extended thinking
111109
*

apps/sim/providers/models.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -634,25 +634,6 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
634634
toolUsageControl: true,
635635
},
636636
models: [
637-
{
638-
id: 'claude-fable-5',
639-
pricing: {
640-
input: 10.0,
641-
cachedInput: 1.0,
642-
output: 50.0,
643-
updatedAt: '2026-06-09',
644-
},
645-
capabilities: {
646-
nativeStructuredOutputs: true,
647-
maxOutputTokens: 128000,
648-
thinking: {
649-
levels: ['low', 'medium', 'high', 'xhigh', 'max'],
650-
default: 'high',
651-
},
652-
},
653-
contextWindow: 1000000,
654-
releaseDate: '2026-06-09',
655-
},
656637
{
657638
id: 'claude-opus-4-8',
658639
pricing: {

0 commit comments

Comments
 (0)