Update Nous provider model preset (#896)
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
|
||||
const OPENAI_CODEX_PROVIDER = 'openai-codex'
|
||||
const FUN_CODEX_PROVIDER = 'fun-codex'
|
||||
const NOUS_PROVIDER = 'nous'
|
||||
const GPT_5_5_MODEL = 'gpt-5.5'
|
||||
|
||||
function modelsForProvider(providerPresets: Array<{ value: string; models: string[] }>, provider: string): string[] {
|
||||
@@ -28,4 +29,12 @@ describe('provider presets', () => {
|
||||
it('exposes GPT-5.5 through provider model maps', () => {
|
||||
expect(buildServerProviderModelMap()[OPENAI_CODEX_PROVIDER]).toContain(GPT_5_5_MODEL)
|
||||
})
|
||||
|
||||
it('hardcodes current Nous catalog and recommended models', () => {
|
||||
const models = modelsForProvider(SERVER_PROVIDER_PRESETS, NOUS_PROVIDER)
|
||||
expect(models).toContain('qwen/qwen3.6-plus')
|
||||
expect(models).toContain('qwen/qwen3.6-35b-a3b')
|
||||
expect(models).toContain('deepseek/deepseek-v4-flash')
|
||||
expect(buildServerProviderModelMap()[NOUS_PROVIDER]).toContain('deepseek/deepseek-v4-flash')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user