mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-03-29 23:14:57 +00:00
feat: add claude sonnet 4.6 model option for tests
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
const CLAUDE_MODELS = [
|
||||
{ value: 'claude-opus-4-6', label: 'Claude Opus 4.6' },
|
||||
{ value: 'claude-sonnet-4-6', label: 'Claude Sonnet 4.6' },
|
||||
{ value: 'claude-opus-4-5-20251101', label: 'Claude Opus 4.5' },
|
||||
{ value: 'claude-sonnet-4-5-20250929', label: 'Claude Sonnet 4.5' },
|
||||
{ value: 'claude-sonnet-4-20250514', label: 'Claude Sonnet 4' },
|
||||
|
||||
10
tests/modelsConfig.test.js
Normal file
10
tests/modelsConfig.test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const { CLAUDE_MODELS } = require('../config/models')
|
||||
|
||||
describe('models config', () => {
|
||||
it('places Claude Sonnet 4.6 as the second Claude model option', () => {
|
||||
expect(CLAUDE_MODELS[1]).toEqual({
|
||||
value: 'claude-sonnet-4-6',
|
||||
label: 'Claude Sonnet 4.6'
|
||||
})
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user