diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts
index 05c294f9d..b2a7d5a6d 100644
--- a/core/llm/autodetect.ts
+++ b/core/llm/autodetect.ts
@@ -95,6 +95,7 @@ const MODEL_SUPPORTS_IMAGES: string[] = [
"pixtral",
"llama3.2",
"llama-3.2",
+ "llama4"
];
function modelSupportsTools(modelDescription: ModelDescription) {
diff --git a/core/llm/llms/SambaNova.ts b/core/llm/llms/SambaNova.ts
index 4c2599529..db37c9276 100644
--- a/core/llm/llms/SambaNova.ts
+++ b/core/llm/llms/SambaNova.ts
@@ -9,20 +9,17 @@ class SambaNova extends OpenAI {
};
private static MODEL_IDS: { [name: string]: string } = {
- "qwen2.5-coder-32b": "Qwen2.5-Coder-32B-Instruct",
+ "llama4-scout": "Llama-4-Scout-17B-16E-Instruct",
+ "llama4-maverick": "Llama-4-Maverick-17B-128E-Instruct",
"llama3.3-70b": "Meta-Llama-3.3-70B-Instruct",
"llama3.1-8b": "Meta-Llama-3.1-8B-Instruct",
- "llama3.1-70b": "Meta-Llama-3.1-70B-Instruct",
"llama3.1-405b": "Meta-Llama-3.1-405B-Instruct",
- "llama3.1-tulu-405b": "Llama-3.1-Tulu-3-405B",
"llama3.2-1b": "Meta-Llama-3.2-1B-Instruct",
"llama3.2-3b": "Meta-Llama-3.2-3B-Instruct",
- "llama3.2-11b": "Llama-3.2-11B-Vision-Instruct",
- "llama3.2-90b": "Llama-3.2-90B-Vision-Instruct",
- "qwen2.5-72b": "Qwen2.5-72B-Instruct",
- "qwq-32b": "QwQ-32B-Preview",
+ "qwq-32b": "QwQ-32B",
"deepseek-r1-distill-llama-70b": "DeepSeek-R1-Distill-Llama-70B",
"deepseek-r1": "DeepSeek-R1",
+ "deepseek-v3": "DeepSeek-V3-0324",
};
protected _convertModelName(model: string) {
diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts
index 3d0d72cc8..2b7a150ec 100644
--- a/core/llm/toolSupport.ts
+++ b/core/llm/toolSupport.ts
@@ -118,7 +118,9 @@ export const PROVIDER_TOOL_SUPPORT: Record<
sambanova: (model) => {
// https://docs.sambanova.ai/cloud/docs/capabilities/function-calling
if (
- model.toLowerCase().startsWith("meta-llama-3")
+ model.toLowerCase().startsWith("meta-llama-3") ||
+ model.toLowerCase().includes("llama-4") ||
+ model.toLowerCase().includes("deepseek")
) {
return true;
}
diff --git a/docs/docs/customize/model-providers/more/SambaNova.mdx b/docs/docs/customize/model-providers/more/SambaNova.mdx
index 3d554006e..58197ae30 100644
--- a/docs/docs/customize/model-providers/more/SambaNova.mdx
+++ b/docs/docs/customize/model-providers/more/SambaNova.mdx
@@ -9,9 +9,9 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
```yaml title="config.yaml"
models:
- - name: SambaNova Qwen2.5 coder
+ - name: SambaNova Llama 4 Scout
provider: sambanova
- model: qwen2.5-coder-32b
+ model: Llama-4-Scout-17B-16E-Instruct
apiKey:
```
@@ -20,9 +20,9 @@ The SambaNova Cloud is a cloud platform for running large AI models with the wor
{
"models": [
{
- "title": "SambaNova Qwen2.5 coder",
+ "title": "SambaNova Llama 4 Scout",
"provider": "sambanova",
- "model": "qwen2.5-coder-32b",
+ "model": "Llama-4-Scout-17B-16E-Instruct",
"apiKey": ""
}
]
diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json
index 48f6e2aaa..462f69983 100644
--- a/extensions/vscode/config_schema.json
+++ b/extensions/vscode/config_schema.json
@@ -1651,20 +1651,17 @@
"anyOf": [
{
"enum": [
- "Qwen2.5-Coder-32B-Instruct",
+ "Llama-4-Scout-17B-16E-Instruct",
+ "Llama-4-Maverick-17B-128E-Instruct",
"Meta-Llama-3.3-70B-Instruct",
"Meta-Llama-3.1-8B-Instruct",
- "Meta-Llama-3.1-70B-Instruct",
"Meta-Llama-3.1-405B-Instruct",
- "Llama-3.1-Tulu-3-405B",
"Meta-Llama-3.2-1B-Instruct",
"Meta-Llama-3.2-3B-Instruct",
- "Llama-3.2-11B-Vision-Instruct",
- "Llama-3.2-90B-Vision-Instruct",
- "Qwen2.5-72B-Instruct",
- "QwQ-32B-Preview",
+ "QwQ-32B",
"DeepSeek-R1-Distill-Llama-70B",
- "DeepSeek-R1"
+ "DeepSeek-R1",
+ "DeepSeek-V3-0324"
]
},
{
diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts
index d21a7d66f..f10d7f0a1 100644
--- a/gui/src/pages/AddNewModel/configs/models.ts
+++ b/gui/src/pages/AddNewModel/configs/models.ts
@@ -1565,13 +1565,37 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["siliconflow"],
isOpenSource: true,
},
+ llama4Scout: {
+ title: "Llama 4 Scout Instruct",
+ description: "A model from Meta, fine-tuned for chat",
+ params: {
+ title: "Llama 4 Scout Instruct",
+ model: "Llama-4-Scout-17B-16E-Instruct",
+ contextLength: 16_000,
+ },
+ icon: "meta.png",
+ providerOptions: ["sambanova"],
+ isOpenSource: true,
+ },
+ llama4Maverick: {
+ title: "Llama 4 Maverick Instruct",
+ description: "A model from Meta, fine-tuned for chat",
+ params: {
+ title: "Llama 4 Maverick Instruct",
+ model: "Llama-4-Maverick-17B-128E-Instruct",
+ contextLength: 16_000,
+ },
+ icon: "meta.png",
+ providerOptions: ["sambanova"],
+ isOpenSource: true,
+ },
llama3370BInstruct: {
title: "Llama 3.3 70B Instruct",
description: "A model from Meta, fine-tuned for chat",
params: {
title: "Llama 3.3 70B instruct",
model: "Meta-Llama-3.3-70B-Instruct",
- contextLength: 16_000,
+ contextLength: 128_000,
},
icon: "meta.png",
providerOptions: ["sambanova"],
@@ -1590,19 +1614,6 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["sambanova"],
isOpenSource: true,
},
- llama3170BInstruct: {
- title: "Llama3.1 70B",
- description: "A model from Meta, fine-tuned for chat",
- refUrl: "",
- params: {
- title: "Llama 3.1 70B Instruct",
- model: "Meta-Llama-3.1-70B-Instruct",
- contextLength: 128_000,
- },
- icon: "meta.png",
- providerOptions: ["sambanova"],
- isOpenSource: true,
- },
llama31405BInstruct: {
title: "Llama3.1 405B",
description: "A model from Meta, fine-tuned for chat",
@@ -1616,19 +1627,6 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["sambanova"],
isOpenSource: true,
},
- llama31Tulu3405B: {
- title: "Llama3.1 Tulu 3405B",
- description: "A model from Meta, fine-tuned for chat",
- refUrl: "",
- params: {
- title: "Llama 3.1 Tulu 3 405B",
- model: "Llama-3.1-Tulu-3-405B",
- contextLength: 16_000,
- },
- icon: "allenai.png",
- providerOptions: ["sambanova"],
- isOpenSource: true,
- },
llama321BInstruct: {
title: "Llama3.2 1B",
description: "A model from Meta, fine-tuned for chat",
@@ -1655,65 +1653,13 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["sambanova"],
isOpenSource: true,
},
- llama3211BInstruct: {
- title: "Llama3.2 11B",
- description: "A model from Meta, fine-tuned for multimodal chat with images",
- refUrl: "",
- params: {
- title: "Llama 3.2 11B Vision Instruct",
- model: "Llama-3.2-11B-Vision-Instruct",
- contextLength: 4096,
- },
- icon: "meta.png",
- providerOptions: ["sambanova"],
- isOpenSource: true,
- },
- llama3290BInstruct: {
- title: "Llama3.2 90B",
- description: "A model from Meta, fine-tuned for multimodal chat with images",
- refUrl: "",
- params: {
- title: "Llama 3.2 90B Vision Instruct",
- model: "Llama-3.2-90B-Vision-Instruct",
- contextLength: 4096,
- },
- icon: "meta.png",
- providerOptions: ["sambanova"],
- isOpenSource: true,
- },
- qwen25Coder32BInstruct: {
- title: "Qwen 2.5 Coder 32B",
+ qwq32B: {
+ title: "QwQ 32B",
description:
- "Qwen 2.5 coder is an auto-regressive language model that uses an optimized transformer architecture, fine-tuned for coding tasks.",
+ "QwQ-32B is Qwen's latest experimental research model, focusing on improving AI reasoning capabilities.",
params: {
- title: "Qwen2.5 Coder 32B Instruct",
- model: "Qwen2.5-Coder-32B-Instruct",
- contextLength: 16_000,
- },
- icon: "qwen.png",
- providerOptions: ["sambanova"],
- isOpenSource: true,
- },
- qwen2572BInstruct: {
- title: "Qwen 2.5 72B",
- description:
- "Qwen 2.5 is an auto-regressive language model that uses an optimized transformer architecture.",
- params: {
- title: "Qwen2.5 72B Instruct",
- model: "Qwen2.5-72B-Instruct",
- contextLength: 16_000,
- },
- icon: "qwen.png",
- providerOptions: ["sambanova"],
- isOpenSource: true,
- },
- qwq32BPreview: {
- title: "QwQ 32B Preview",
- description:
- "QwQ-32B-Preview is Qwen's latest experimental research model, focusing on improving AI reasoning capabilities.",
- params: {
- title: "QwQ 32B Preview",
- model: "QwQ-32B-Preview",
+ title: "QwQ 32B",
+ model: "QwQ-32B",
contextLength: 16_000,
},
icon: "qwen.png",
@@ -1746,6 +1692,19 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["sambanova"],
isOpenSource: true,
},
+ deepseekV3: {
+ title: "DeepSeek V3",
+ description:
+ "DeekSeek V3 reasoning model from DeepSeek",
+ params: {
+ title: "DeepSeek V3",
+ model: "DeepSeek-V3-0324",
+ contextLength: 8192,
+ },
+ icon: "deepseek.png",
+ providerOptions: ["sambanova"],
+ isOpenSource: true,
+ },
AUTODETECT: {
title: "Autodetect",
description:
diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts
index 43a3bbe4c..b6654ea01 100644
--- a/gui/src/pages/AddNewModel/configs/providers.ts
+++ b/gui/src/pages/AddNewModel/configs/providers.ts
@@ -764,20 +764,17 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
...completionParamsInputsConfigs,
],
packages:[
- models.qwen25Coder32BInstruct,
+ models.llama4Scout,
+ models.llama4Maverick,
models.llama3370BInstruct,
models.llama318BInstruct,
- models.llama3170BInstruct,
models.llama31405BInstruct,
- models.llama31Tulu3405B,
models.llama321BInstruct,
models.llama323BInstruct,
- models.llama3211BInstruct,
- models.llama3290BInstruct,
- models.qwen2572BInstruct,
- models.qwq32BPreview,
+ models.qwq32B,
models.deepseekR1DistillLlama70B,
models.deepseekR1,
+ models.deepseekV3
],
apiKeyUrl: "https://cloud.sambanova.ai/apis",
},