Skip to content

Commit 5eb123e

Browse files
committed
fix(providers): update test for gpt-5.4-pro missing verbosity support
1 parent 712e943 commit 5eb123e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/sim/providers/utils.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -523,13 +523,16 @@ describe('Model Capabilities', () => {
523523

524524
it.concurrent('should have GPT-5 models in both reasoning effort and verbosity arrays', () => {
525525
const gpt5ModelsWithReasoningEffort = MODELS_WITH_REASONING_EFFORT.filter(
526-
(m) => m.includes('gpt-5') && !m.includes('chat-latest')
526+
(m) => m.includes('gpt-5') && !m.includes('chat-latest') && !m.includes('gpt-5.4-pro')
527527
)
528528
const gpt5ModelsWithVerbosity = MODELS_WITH_VERBOSITY.filter(
529529
(m) => m.includes('gpt-5') && !m.includes('chat-latest')
530530
)
531531
expect(gpt5ModelsWithReasoningEffort.sort()).toEqual(gpt5ModelsWithVerbosity.sort())
532532

533+
expect(MODELS_WITH_REASONING_EFFORT).toContain('gpt-5.4-pro')
534+
expect(MODELS_WITH_VERBOSITY).not.toContain('gpt-5.4-pro')
535+
533536
expect(MODELS_WITH_REASONING_EFFORT).toContain('o1')
534537
expect(MODELS_WITH_VERBOSITY).not.toContain('o1')
535538
})

0 commit comments

Comments
 (0)