Skip to content

Commit cd471b9

Browse files
committed
fix: fix tests
1 parent 4ecc464 commit cd471b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/autocomplete/__tests__/AutocompleteModel.spec.ts

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