Merge pull request #682 from 0xble/fix/claude-base-models

fix(config): update claude base models to latest
This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-03-07 03:56:06 -05:00
commit 84a2dd013d
9 files changed
+110 -14

No files matched your search

+27
View File
@@ -106,6 +106,33 @@ describe('Model Catalog', () => {
});
});
describe('Claude models', () => {
it('contains Claude provider catalog', () => {
const { MODEL_CATALOG } = modelCatalog;
assert(MODEL_CATALOG.claude, 'Should have Claude provider');
assert.strictEqual(MODEL_CATALOG.claude.provider, 'claude');
assert.strictEqual(MODEL_CATALOG.claude.displayName, 'Claude (Anthropic)');
});
it('has correct default model', () => {
const { MODEL_CATALOG } = modelCatalog;
assert.strictEqual(MODEL_CATALOG.claude.defaultModel, 'claude-sonnet-4-6');
});
it('includes Claude Sonnet 4.6', () => {
const { MODEL_CATALOG } = modelCatalog;
const sonnet = MODEL_CATALOG.claude.models.find((m) => m.id === 'claude-sonnet-4-6');
assert(sonnet, 'Should include Claude Sonnet 4.6');
assert.strictEqual(sonnet.name, 'Claude Sonnet 4.6');
});
it('retains previous 4.5 snapshot models for explicit selection', () => {
const { MODEL_CATALOG } = modelCatalog;
const ids = MODEL_CATALOG.claude.models.map((m) => m.id);
assert(ids.includes('claude-opus-4-5-20251101'));
assert(ids.includes('claude-sonnet-4-5-20250929'));
});
});
describe('Gemini models', () => {
it('has correct default model', () => {
const { MODEL_CATALOG } = modelCatalog;