Elffuss BraidHub

kikocis/continue public

style: apply prettier formatting to toolSupport.ts
Changeset19cfb6ec829afc69f90a80c4e4eccf00f8736ee17c0c2ef2a00f85cd70d8d5a9
AuthorSuhas S <suhas.cse20@gmail.com> · 2025-08-16 09:24 +08:00
CommitterSuhas S <suhas.cse20@gmail.com> · 2025-08-16 09:24 +08:00
Parents6b3834257290

Browse the files at this changeset

1 file changed

modified core/llm/toolSupport.ts +2 −2
@@ -239,13 +239,13 @@
239239 },
240240 openrouter: (model) => {
241241 // https://openrouter.ai/models?fmt=cards&supported_parameters=tools
242-
242+
243243 // Specific free models that don't support tools
244244 // Fixes issue #6619 - moonshotai/kimi-k2:free causing 400 errors
245245 if (model.toLowerCase() === "moonshotai/kimi-k2:free") {
246246 return false;
247247 }
248-
248+
249249 if (
250250 ["vision", "math", "guard", "mistrallite", "mistral-openorca"].some(
251251 (part) => model.toLowerCase().includes(part),