Elffuss BraidHub

kikocis/continue public

Merge pull request #5779 from welcoMattic/patch-2

Add Devstral as model supporting tools
Changeset45556d3ff455fdb555c193e3ca3158493a6d80f61f30f2e478f18c36155909c2
AuthorTy Dunn <ty@tydunn.com> · 2025-05-21 13:04 -07:00
CommitterGitHub <noreply@github.com> · 2025-05-21 13:04 -07:00
Parents74358319424e, 967865f300e8

Browse the files at this changeset

2 files changed

modified core/llm/toolSupport.test.ts +3 −0
@@ -155,6 +155,7 @@
155155 expect(supportsFn("pixtral-12b-2409")).toBe(true);
156156 expect(supportsFn("pixtral-large-latest")).toBe(true);
157157 expect(supportsFn("open-mistral-nemo")).toBe(true);
158+ expect(supportsFn("devstral-latest")).toBe(true);
158159 });
159160
160161 it("should return false for other unsupported models", () => {
@@ -170,6 +171,7 @@
170171 expect(supportsFn("CODESTRAL-LATEST")).toBe(true);
171172 expect(supportsFn("MINISTRAL-8B-LATEST")).toBe(true);
172173 expect(supportsFn("PIXTRAL-12B-2409")).toBe(true);
174+ expect(supportsFn("DEVSTRAL-LATEST")).toBe(true);
173175 });
174176 });
175177
@@ -192,6 +194,7 @@
192194 expect(supportsFn("aya-expanse")).toBe(true);
193195 expect(supportsFn("firefunction-v2")).toBe(true);
194196 expect(supportsFn("mistral-7b")).toBe(true);
197+ expect(supportsFn("devstral-24b")).toBe(true);
195198 });
196199
197200 it("should return false for explicitly unsupported models", () => {
modified core/llm/toolSupport.ts +2 −0
@@ -88,6 +88,7 @@
8888 return (
8989 !model.toLowerCase().includes("mamba") &&
9090 [
91+ "devstral",
9192 "codestral",
9293 "mistral-large",
9394 "mistral-small",
@@ -136,6 +137,7 @@
136137 "aya-expanse",
137138 "firefunction-v2",
138139 "mistral",
140+ "devstral",
139141 ].some((part) => modelName.toLowerCase().includes(part))
140142 ) {
141143 return true;