@@ -17,36 +17,40 @@ describe("Model Configuration", () => {
1717 expect(config.displayName).toBe("LFM 2.5 Thinking (731MB)");
1818 expect(config.ollama.model).toBe("lfm2.5-thinking");
1919 expect(config.ollama.options).toEqual({ temperature: 1.2 });
20- expect(config.contextWindow).toBe(4096);
20+ expect(config.contextWindow).toBe(128000);
21+ expect(config.recommendedMessages).toBe(10);
2122 expect(config.recommended).toBe(true);
2223 });
2324
24- test("should load qwen3 config with thinking option", () => {
25+ test("should load qwen3 config without thinking option", () => {
2526 const config = loadModelConfig("qwen3");
2627
2728 expect(config.displayName).toBe("Qwen3 8B (5.2GB)");
2829 expect(config.ollama.model).toBe("qwen3:8b");
29- expect(config.ollama.options).toEqual({ temperature: 1.2, thinking: true });
30- expect(config.contextWindow).toBe(32768);
30+ expect(config.ollama.options).toEqual({ temperature: 1.2 });
31+ expect(config.contextWindow).toBe(40960);
32+ expect(config.recommendedMessages).toBe(15);
3133 expect(config.recommended).toBe(false);
3234 });
3335
34- test("should load qwen2.5 config", () => {
35- const config = loadModelConfig("qwen2.5");
36+ test("should load ministral-3 config", () => {
37+ const config = loadModelConfig("ministral-3");
3638
37- expect(config.displayName).toBe("Qwen2.5 7B (4.7GB)");
38- expect(config.ollama.model).toBe("qwen2.5:7b");
39+ expect(config.displayName).toBe("Ministral 3 8B (6.0GB)");
40+ expect(config.ollama.model).toBe("ministral-3:8b");
3941 expect(config.ollama.options).toEqual({ temperature: 1.2 });
40- expect(config.contextWindow).toBe(32768);
42+ expect(config.contextWindow).toBe(262144);
43+ expect(config.recommendedMessages).toBe(20);
4144 });
4245
4346 test("should load deepseek-r1 config", () => {
4447 const config = loadModelConfig("deepseek-r1");
4548
46- expect(config.displayName).toBe("DeepSeek R1 7B (~5GB)");
49+ expect(config.displayName).toBe("DeepSeek R1 7B (4.7GB)");
4750 expect(config.ollama.model).toBe("deepseek-r1:7b");
4851 expect(config.ollama.options).toEqual({ temperature: 1.2 });
4952 expect(config.contextWindow).toBe(131072);
53+ expect(config.recommendedMessages).toBe(12);
5054 });
5155
5256 test("should throw error for non-existent config", () => {
@@ -62,7 +66,7 @@ describe("Model Configuration", () => {
6266 if (error instanceof Error) {
6367 expect(error.message).toContain("lfm-thinking");
6468 expect(error.message).toContain("qwen3");
65- expect(error.message).toContain("qwen2.5");
69+ expect(error.message).toContain("ministral-3");
6670 expect(error.message).toContain("deepseek-r1");
6771 }
6872 }
@@ -73,8 +77,9 @@ describe("Model Configuration", () => {
7377
7478 expect(models).toContain("lfm-thinking");
7579 expect(models).toContain("qwen3");
76- expect(models).toContain("qwen2.5");
80+ expect(models).toContain("ministral-3");
7781 expect(models).toContain("deepseek-r1");
82+ expect(models).toHaveLength(4);
7883 });
7984
8085 test("should generate model list text", () => {