diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts
index a4763b202..92bf71266 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 552e34283..ad5f65b75 100644
--- a/core/llm/toolSupport.ts
+++ b/core/llm/toolSupport.ts
@@ -137,7 +137,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/docs/docs/customize/tutorials/llama3.1.mdx b/docs/docs/customize/tutorials/llama3.1.mdx
index bb65be947..23d7d38a9 100644
--- a/docs/docs/customize/tutorials/llama3.1.mdx
+++ b/docs/docs/customize/tutorials/llama3.1.mdx
@@ -153,7 +153,7 @@ Replicate makes it easy to host and run open-source AI with an API.
SambaNova Cloud provides world record Llama3.1 70B/405B serving.
-1. Create an account [here](https://cloud.sambanova.ai/)
+1. Create an account [here](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup )
2. Copy your API key
3. Update your Continue config file like this:
diff --git a/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/model-providers/more/SambaNova.md b/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/model-providers/more/SambaNova.md
index 79e142ca9..d53afe6e7 100644
--- a/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/model-providers/more/SambaNova.md
+++ b/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/model-providers/more/SambaNova.md
@@ -1,7 +1,6 @@
# SambaNova Cloud
-SambaNova 云是一个运行大型 AI 模型的云平台,有 Llama 3.1 70B/405B 性能的世界记录。你可以在 [这里](https://cloud.sambanova.ai/) 登录,在最初的欢迎屏幕复制你的 API key ,然后在 [模型列表](https://community.sambanova.ai/t/quick-start-guide/104) 任何模型上点击 play 按钮。
-
+SambaNova 云是一个运行大型 AI 模型的云平台,有 Llama 3.1 70B/405B 性能的世界记录。你可以在 [这里](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup ) 登录,在最初的欢迎屏幕复制你的 API key ,然后在 [模型列表](https://community.sambanova.ai/t/quick-start-guide/104) 任何模型上点击 play 按钮。
```json title="config.json"
{
"models": [
diff --git a/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/tutorials/llama3.1.md b/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/tutorials/llama3.1.md
index 877864a15..674b3dcbe 100644
--- a/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/tutorials/llama3.1.md
+++ b/docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/customize/tutorials/llama3.1.md
@@ -95,7 +95,7 @@ Replicate 让使用 API 托管和运行开源 AI 变得简单。
SambaNova Cloud 提供 Llama3.1 70B/405B 服务的世界记录。
-1. 创建账号 [在这里](https://cloud.sambanova.ai/)
+1. 创建账号 [在这里](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup)
2. 复制你的 API key
3. 更新你的 Continue 配置文件像这样:
diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json
index 3670778d8..56ea763a8 100644
--- a/extensions/vscode/config_schema.json
+++ b/extensions/vscode/config_schema.json
@@ -251,7 +251,7 @@
"### Msty\nMsty is the simplest way to get started with online or local LLMs on all desktop platforms - Windows, Mac, and Linux. No fussing around, one-click and you are up and running. To get started, follow these steps:\n1. Download from [Msty.app](https://msty.app/), open the application, and click 'Setup Local AI'.\n2. Go to the Local AI Module page and download a model of your choice.\n3. Once the model has finished downloading, you can start asking questions through Continue.\n> [Reference](https://continue.dev/docs/reference/Model%20Providers/Msty)",
"### IBM watsonx\nwatsonx, developed by IBM, offers a variety of pre-trained AI foundation models that can be used for natural language processing (NLP), computer vision, and speech recognition tasks.",
"### OpenRouter\nOpenRouter offers a single API to access almost any language model. To get started, obtain an API key from [their console](https://openrouter.ai/settings/keys).",
- "### SambaNova\n SambaNova provides fast inference of open-source language models with zero data retention. To get started, obtain an API key in [SambaNova Cloud](https://cloud.sambanova.ai/apis).",
+ "### SambaNova\n SambaNova provides fast inference of open-source language models with zero data retention. To get started, obtain an API key in [SambaNova Cloud](https://cloud.sambanova.ai/apis?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup ).",
"### NVIDIA NIMs\nNVIDIA offers a single API to access almost any language model. To find out more, visit the [LLM APIs Documentation](https://docs.api.nvidia.com/nim/reference/llm-apis).\nFor information specific to getting a key, please check out the [docs here](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#option-1-from-api-catalog)",
"### vLLM\nvLLM is a highly performant way of hosting LLMs for a team. To get started, follow their [quickstart](https://docs.vllm.ai/en/latest/getting_started/quickstart.html) to set up your server.",
"### Cerebras\nCerebras Inference uses specialized silicon to provides superfast inference. To get started, get your API keys from [their console](https://cloud.cerebras.ai/).",
@@ -1655,20 +1655,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 7fbd97e4d..1bfb49f7e 100644
--- a/gui/src/pages/AddNewModel/configs/models.ts
+++ b/gui/src/pages/AddNewModel/configs/models.ts
@@ -1579,13 +1579,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"],
@@ -1604,19 +1628,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",
@@ -1630,19 +1641,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",
@@ -1669,65 +1667,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",
@@ -1760,6 +1706,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..50f23ec73 100644
--- a/gui/src/pages/AddNewModel/configs/providers.ts
+++ b/gui/src/pages/AddNewModel/configs/providers.ts
@@ -748,7 +748,7 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo
refPage: "sambanova",
description: "Use SambaNova Cloud for fast inference performance",
icon: "sambanova.png",
- longDescription: `The SambaNova Cloud is a cloud platform for running large open source AI models with the world record performance and zero data retention. You can sign up [here](https://cloud.sambanova.ai/)`,
+ longDescription: `The SambaNova Cloud is a cloud platform for running large open source AI models with the world record performance and zero data retention. You can sign up [here](http://cloud.sambanova.ai?utm_source=continue&utm_medium=external&utm_campaign=cloud_signup)`,
tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource],
params: {
apiKey: "",
@@ -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",
},