Skip to content

Commit c712c01

Browse files
committed
fix(providers): expose temperature capability on claude-sonnet-5
Sonnet 5 accepts the temperature parameter (0-1, per Anthropic API docs), and it replaces claude-sonnet-4-6 as the default/recommended Anthropic model. Omitting the capability silently dropped temperature control for workflows on the default model. The request builder already strips temperature whenever thinking is active, so this only takes effect when thinking is disabled — where temperature is valid.
1 parent f308054 commit c712c01

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/sim/providers/models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
678678
updatedAt: '2026-06-30',
679679
},
680680
capabilities: {
681+
temperature: { min: 0, max: 1 },
681682
nativeStructuredOutputs: true,
682683
maxOutputTokens: 128000,
683684
thinking: {

0 commit comments

Comments
 (0)