Merge pull request #5453 from tgmerritt/feat/add_cerebras_llama_4_17b

Add Llama 4 Scout Cerebras to definition schema
This commit is contained in:
Patrick Erichsen 2025-05-05 16:38:58 -07:00 • committed by GitHub
commit a084d7f456
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ class Cerebras extends OpenAI {
private static modelConversion: { [key: string]: string } = {
"llama3.1-8b": "llama3.1-8b",
"llama3.1-70b": "llama3.1-70b",
"llama-4-scout-17b-16e-instruct": "llama-4-scout-17b-16e-instruct"
};
protected _convertModelName(model: string): string {
return Cerebras.modelConversion[model] ?? model;

View file

@ -1515,7 +1515,7 @@
"then": {
"properties": {
"model": {
"enum": ["llama3.1-8b", "llama3.1-70b"]
"enum": ["llama3.1-8b", "llama3.1-70b", "llama-4-scout-17b-16e-instruct"]
}
}
}