feat: Add new OVHcloud models
This commit is contained in:
@@ -16,10 +16,16 @@ export class OVHcloud extends OpenAI {
|
||||
"llama3.1-70b": "Meta-Llama-3_1-70B-Instruct",
|
||||
"llama3.3-70b": "Meta-Llama-3_3-70B-Instruct",
|
||||
"qwen2.5-coder-32b": "Qwen2.5-Coder-32B-Instruct",
|
||||
"qwen3-32b": "Qwen3-32B",
|
||||
"qwen3-coder-30b-a3b": "Qwen3-Coder-30B-A3B-Instruct",
|
||||
"qwen2.5-vl-72b": "Qwen2.5-VL-72B-Instruct",
|
||||
"codestral-mamba-latest": "mamba-codestral-7B-v0.1",
|
||||
"mistral-7b": "Mistral-7B-Instruct-v0.3",
|
||||
"mistral-8x7b": "Mixtral-8x7B-Instruct-v0.1",
|
||||
"mistral-nemo": "Mistral-Nemo-Instruct-2407",
|
||||
"mistral-small-3.2-24b": "Mistral-Small-3.2-24B-Instruct-2506",
|
||||
"gpt-oss-20b": "gpt-oss-20b",
|
||||
"gpt-oss-120b": "gpt-oss-120b",
|
||||
"DeepSeek-R1-Distill-Llama-70B": "DeepSeek-R1-Distill-Llama-70B",
|
||||
};
|
||||
|
||||
|
||||
@@ -356,6 +356,29 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
ovhcloud: (model) => {
|
||||
const lower = model.toLowerCase();
|
||||
|
||||
// Models that support tools according to OVHcloud AI Endpoints catalog
|
||||
const toolSupportingModels = [
|
||||
"llama-3.1-8b-instruct",
|
||||
"qwen3-32b",
|
||||
"qwen3-coder-30b-a3b-instruct",
|
||||
"meta-llama-3_3-70b-instruct",
|
||||
"deepseek-r1-distill-llama-70b",
|
||||
"mistral-small-3.2-24b-instruct-2506",
|
||||
"gpt-oss-120b",
|
||||
"mistral-nemo-instruct-2407",
|
||||
"gpt-oss-20b",
|
||||
"qwen2.5-coder-32b-instruct",
|
||||
];
|
||||
|
||||
if (toolSupportingModels.some((m) => lower === m)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user