update default model to mistral-large-latest and real integration test

This commit is contained in:
nirae
2026-03-18 18:38:50 +01:00
committed by calesthio
parent 05b63a68af
commit 4d526ca11b
2 changed files with 22 additions and 136 deletions

View File

@@ -12,13 +12,13 @@ describe('MistralProvider', () => {
it('should set defaults correctly', () => {
const provider = new MistralProvider({ apiKey: 'sk-test' });
assert.equal(provider.name, 'mistral');
assert.equal(provider.model, 'mistral-medium');
assert.equal(provider.model, 'mistral-large-latest');
assert.equal(provider.isConfigured, true);
});
it('should accept custom model', () => {
const provider = new MistralProvider({ apiKey: 'sk-test', model: 'mistral-medium-highspeed' });
assert.equal(provider.model, 'mistral-medium-highspeed');
const provider = new MistralProvider({ apiKey: 'sk-test', model: 'mistral-small-2603' });
assert.equal(provider.model, 'mistral-small-2603');
});
it('should report not configured without API key', () => {