Skip to content

Commit 13e2f61

Browse files
committed
switch to codestral 2508 as 2501 is EOL
1 parent f5e37f1 commit 13e2f61

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/services/ghost/new-auto-complete/NewAutocompleteModel.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import OpenRouter from "../../continuedev/core/llm/llms/OpenRouter"
1717
import KiloCode from "../../continuedev/core/llm/llms/KiloCode"
1818

1919
export const AUTOCOMPLETE_PROVIDER_MODELS = {
20-
mistral: "codestral-2501",
21-
kilocode: "codestral-2501",
22-
openrouter: "mistralai/codestral-2501",
23-
bedrock: "mistral.codestral-2501-v1:0",
20+
mistral: "codestral-2508",
21+
kilocode: "codestral-2508",
22+
openrouter: "mistralai/codestral-2508",
23+
bedrock: "mistral.codestral-2508-v1:0",
2424
} as const
2525

2626
export class NewAutocompleteModel {

src/services/ghost/new-auto-complete/__tests__/NewAutocompleteModel.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe("NewAutocompleteModel", () => {
3131
expect(result).toBeDefined()
3232
expect(Mistral).toHaveBeenCalledWith(
3333
expect.objectContaining({
34-
model: "codestral-2501",
34+
model: "codestral-2508",
3535
apiKey: "test-mistral-key",
3636
apiBase: "https://custom.mistral.ai/v1/",
3737
contextLength: 32000,
@@ -78,7 +78,7 @@ describe("NewAutocompleteModel", () => {
7878
expect(result).toBeDefined()
7979
expect(OpenAI).toHaveBeenCalledWith(
8080
expect.objectContaining({
81-
model: "codestral-2501",
81+
model: "codestral-2508",
8282
apiKey: "test-kilocode-token",
8383
}),
8484
)
@@ -109,7 +109,7 @@ describe("NewAutocompleteModel", () => {
109109
expect(result).toBeDefined()
110110
expect(OpenAI).toHaveBeenCalledWith(
111111
expect.objectContaining({
112-
model: "mistralai/codestral-2501",
112+
model: "mistralai/codestral-2508",
113113
apiKey: "test-openrouter-key",
114114
apiBase: "https://custom.openrouter.ai/api/v1",
115115
}),

0 commit comments

Comments
 (0)