Merge pull request #5071 from fbricon/cogito-tools-support

Enable tools support for Cogito on Ollama
This commit is contained in:
Nate Sesti 2025-04-09 08:17:20 -07:00 • committed by GitHub
commit b271bb7751
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<
} else {
modelName = model;
}
if (
["vision", "math", "guard", "mistrallite", "mistral-openorca"].some(
(part) => modelName.toLowerCase().includes(part),
@ -92,6 +92,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<
}
if (
[
"cogito",
"llama3.3",
"qwq",
"llama3.2",