From f8ae9db4c0acb5fe41487c8a2d6b2b15575918ac Mon Sep 17 00:00:00 2001 From: waleed Date: Fri, 12 Jun 2026 19:02:02 -0700 Subject: [PATCH] chore(providers): remove claude-fable-5 model --- apps/sim/providers/anthropic/core.ts | 4 +--- apps/sim/providers/models.ts | 19 ------------------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/apps/sim/providers/anthropic/core.ts b/apps/sim/providers/anthropic/core.ts index d00413eb141..c265d1e903c 100644 --- a/apps/sim/providers/anthropic/core.ts +++ b/apps/sim/providers/anthropic/core.ts @@ -82,7 +82,6 @@ const THINKING_BUDGET_TOKENS: Record = { /** * Checks if a model supports adaptive thinking (thinking.type: "adaptive"). - * Fable 5 supports ONLY adaptive thinking (always on; type: "disabled" is rejected). * Opus 4.8 and Opus 4.7 support ONLY adaptive thinking (no extended thinking / budget_tokens). * Opus 4.6 and Sonnet 4.6 support both extended and adaptive thinking — use adaptive. * Opus 4.5 supports effort but NOT adaptive thinking — it uses budget_tokens with type: "enabled". @@ -90,7 +89,6 @@ const THINKING_BUDGET_TOKENS: Record = { function supportsAdaptiveThinking(modelId: string): boolean { const normalizedModel = modelId.toLowerCase() return ( - normalizedModel.includes('fable-5') || normalizedModel.includes('opus-4-8') || normalizedModel.includes('opus-4.8') || normalizedModel.includes('opus-4-7') || @@ -105,7 +103,7 @@ function supportsAdaptiveThinking(modelId: string): boolean { /** * Builds the thinking configuration for the Anthropic API based on model capabilities and level. * - * - Fable 5, Opus 4.8, Opus 4.7: Uses adaptive thinking only (no extended thinking support) + * - Opus 4.8, Opus 4.7: Uses adaptive thinking only (no extended thinking support) * - Opus 4.6, Sonnet 4.6: Uses adaptive thinking with effort parameter * - Other models: Uses budget_tokens-based extended thinking * diff --git a/apps/sim/providers/models.ts b/apps/sim/providers/models.ts index b48805dec21..fc6c172aac0 100644 --- a/apps/sim/providers/models.ts +++ b/apps/sim/providers/models.ts @@ -634,25 +634,6 @@ export const PROVIDER_DEFINITIONS: Record = { toolUsageControl: true, }, models: [ - { - id: 'claude-fable-5', - pricing: { - input: 10.0, - cachedInput: 1.0, - output: 50.0, - updatedAt: '2026-06-09', - }, - capabilities: { - nativeStructuredOutputs: true, - maxOutputTokens: 128000, - thinking: { - levels: ['low', 'medium', 'high', 'xhigh', 'max'], - default: 'high', - }, - }, - contextWindow: 1000000, - releaseDate: '2026-06-09', - }, { id: 'claude-opus-4-8', pricing: {