Skip to content

Commit f366679

Browse files
committed
updated model configs and testesd
1 parent 80ea3e7 commit f366679

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/sim/providers/models.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
377377
capabilities: {
378378
temperature: { min: 0, max: 1 },
379379
nativeStructuredOutputs: true,
380-
maxOutputTokens: { max: 32000, default: 8192 },
380+
maxOutputTokens: { max: 64000, default: 8192 },
381381
thinking: {
382382
levels: ['low', 'medium', 'high'],
383383
default: 'high',
@@ -395,7 +395,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
395395
},
396396
capabilities: {
397397
temperature: { min: 0, max: 1 },
398-
maxOutputTokens: { max: 32000, default: 8192 },
398+
maxOutputTokens: { max: 64000, default: 8192 },
399399
thinking: {
400400
levels: ['low', 'medium', 'high'],
401401
default: 'high',
@@ -800,7 +800,7 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
800800
capabilities: {
801801
temperature: { min: 0, max: 1 },
802802
nativeStructuredOutputs: true,
803-
maxOutputTokens: { max: 32000, default: 8192 },
803+
maxOutputTokens: { max: 64000, default: 8192 },
804804
thinking: {
805805
levels: ['low', 'medium', 'high'],
806806
default: 'high',

apps/sim/providers/utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ describe('Max Output Tokens', () => {
594594
})
595595

596596
it.concurrent('should return correct values for Claude Opus 4.1', () => {
597-
expect(getMaxOutputTokensForModel('claude-opus-4-1', true)).toBe(32000)
597+
expect(getMaxOutputTokensForModel('claude-opus-4-1', true)).toBe(64000)
598598
expect(getMaxOutputTokensForModel('claude-opus-4-1', false)).toBe(8192)
599599
})
600600

0 commit comments

Comments
 (0)