Elffuss BraidHub

kikocis/continue public

fix: Update sambanova models (#7901)

* update sambanova models

* fmt
Changeset7bf68588eb9cbe067bc7f15b9d30ae4e31bf627f7d53223d0adc8389349facfe
AuthorJorge Piedrahita Ortiz <jhpiedrahitao97@gmail.com> · 2025-09-22 15:53 -05:00
CommitterGitHub <noreply@github.com> · 2025-09-22 13:53 -07:00
Parents23e5f6ffdfa7

Browse the files at this changeset

5 files changed

modified core/llm/llms/SambaNova.ts +4 −5
@@ -9,17 +9,16 @@
99 };
1010
1111 private static MODEL_IDS: { [name: string]: string } = {
12- "llama4-scout": "Llama-4-Scout-17B-16E-Instruct",
1312 "llama4-maverick": "Llama-4-Maverick-17B-128E-Instruct",
1413 "llama3.3-70b": "Meta-Llama-3.3-70B-Instruct",
14+ "llama3.3-swalllow-70b": "Llama-3.3-Swallow-70B-Instruct-v0.4",
1515 "llama3.1-8b": "Meta-Llama-3.1-8B-Instruct",
16- "llama3.1-405b": "Meta-Llama-3.1-405B-Instruct",
17- "llama3.2-1b": "Meta-Llama-3.2-1B-Instruct",
18- "llama3.2-3b": "Meta-Llama-3.2-3B-Instruct",
19- "qwq-32b": "QwQ-32B",
2016 "deepseek-r1-distill-llama-70b": "DeepSeek-R1-Distill-Llama-70B",
2117 "deepseek-r1": "DeepSeek-R1",
2218 "deepseek-v3": "DeepSeek-V3-0324",
19+ "deepseek-v3.1": "DeepSeek-V3-0324",
20+ "gpt-oss-120b": "gpt-oss-120b",
21+ "qwen3-32b": "Qwen3-32B",
2322 };
2423
2524 protected _convertModelName(model: string) {
modified core/llm/toolSupport.ts +3 −1
@@ -203,7 +203,9 @@
203203 if (
204204 model.toLowerCase().startsWith("meta-llama-3") ||
205205 model.toLowerCase().includes("llama-4") ||
206- model.toLowerCase().includes("deepseek")
206+ model.toLowerCase().includes("deepseek") ||
207+ model.toLowerCase().includes("gpt") ||
208+ model.toLowerCase().includes("qwen")
207209 ) {
208210 return true;
209211 }
modified docs/customize/model-providers/more/SambaNova.mdx +5 −5
@@ -1,6 +1,6 @@
11 ---
22 title: "SambaNova"
3-description: "Configure SambaNova Cloud with Continue to access their high-performance platform for running large AI models, including Llama 4 Scout with world record open source model performance"
3+description: "Configure SambaCloud with Continue to access their high-performance platform for running large AI models, including Llama 4 Scout with world record open source model performance"
44 ---
55
66 The SambaNova Cloud is a cloud platform for running large AI models with the world record open source models performance. You can follow the instructions in [this blog post](https://sambanova.ai/blog/accelerating-coding-with-sambanova-cloud?ref=blog.continue.dev) to configure your setup.
@@ -9,9 +9,9 @@
99 <Tab title="YAML">
1010 ```yaml title="config.yaml"
1111 models:
12- - name: SambaNova Llama 4 Scout
12+ - name: GPT OSS 120B
1313 provider: sambanova
14- model: Llama-4-Scout-17B-16E-Instruct
14+ model: gpt-oss-120b
1515 apiKey: <YOUR_SAMBANOVA_API_KEY>
1616 ```
1717 </Tab>
@@ -20,9 +20,9 @@
2020 {
2121 "models": [
2222 {
23- "title": "SambaNova Llama 4 Scout",
23+ "title": "GPT OSS 120B",
2424 "provider": "sambanova",
25- "model": "Llama-4-Scout-17B-16E-Instruct",
25+ "model": "gpt-oss-120b",
2626 "apiKey": "<YOUR_SAMBANOVA_API_KEY>"
2727 }
2828 ]
modified gui/src/pages/AddNewModel/configs/models.ts +50 −66
@@ -592,7 +592,7 @@
592592 contextLength: 8192,
593593 },
594594 icon: "meta.png",
595- providerOptions: ["ollama", "groq", "llama.cpp", "sambanova", "nebius"],
595+ providerOptions: ["ollama", "groq", "llama.cpp", "nebius"],
596596 isOpenSource: false,
597597 },
598598 llama323bChat: {
@@ -605,7 +605,7 @@
605605 contextLength: 8192,
606606 },
607607 icon: "meta.png",
608- providerOptions: ["ollama", "groq", "llama.cpp", "sambanova", "together"],
608+ providerOptions: ["ollama", "groq", "llama.cpp", "together"],
609609 isOpenSource: false,
610610 },
611611 llama3211bChat: {
@@ -1705,25 +1705,13 @@
17051705 providerOptions: ["siliconflow"],
17061706 isOpenSource: true,
17071707 },
1708- llama4Scout: {
1709- title: "Llama 4 Scout Instruct",
1710- description: "A model from Meta, fine-tuned for chat",
1711- params: {
1712- title: "Llama 4 Scout Instruct",
1713- model: "Llama-4-Scout-17B-16E-Instruct",
1714- contextLength: 16_000,
1715- },
1716- icon: "meta.png",
1717- providerOptions: ["sambanova"],
1718- isOpenSource: true,
1719- },
17201708 llama4Maverick: {
17211709 title: "Llama 4 Maverick Instruct",
17221710 description: "A model from Meta, fine-tuned for chat",
17231711 params: {
17241712 title: "Llama 4 Maverick Instruct",
17251713 model: "Llama-4-Maverick-17B-128E-Instruct",
1726- contextLength: 16_000,
1714+ contextLength: 128_000,
17271715 },
17281716 icon: "meta.png",
17291717 providerOptions: ["sambanova"],
@@ -1741,71 +1729,31 @@
17411729 providerOptions: ["sambanova"],
17421730 isOpenSource: true,
17431731 },
1744- llama318BInstruct: {
1745- title: "Llama3.1 8B",
1746- description: "A model from Meta, fine-tuned for chat",
1747- refUrl: "",
1748- params: {
1749- title: "Llama 3.1 8B Instruct",
1750- model: "Meta-Llama-3.1-8B-Instruct",
1751- contextLength: 16_000,
1752- },
1753- icon: "meta.png",
1754- providerOptions: ["sambanova"],
1755- isOpenSource: true,
1756- },
1757- llama31405BInstruct: {
1758- title: "Llama3.1 405B",
1759- description: "A model from Meta, fine-tuned for chat",
1760- refUrl: "",
1732+ llama33Swallow70BInstruct: {
1733+ title: "Llama 3.3 Swallow 70B Instruct",
1734+ description: "A model from TokyoTech, fine-tuned for chat",
17611735 params: {
1762- title: "Llama 3.1 405B Instruct",
1763- model: "Meta-Llama-3.1-405B-Instruct",
1764- contextLength: 16_000,
1736+ title: "Llama 3.3 70B instruct",
1737+ model: "Llama-3.3-Swallow-70B-Instruct-v0.4",
1738+ contextLength: 128_000,
17651739 },
17661740 icon: "meta.png",
17671741 providerOptions: ["sambanova"],
17681742 isOpenSource: true,
17691743 },
1770- llama321BInstruct: {
1771- title: "Llama3.2 1B",
1744+ llama318BInstruct: {
1745+ title: "Llama3.1 8B",
17721746 description: "A model from Meta, fine-tuned for chat",
17731747 refUrl: "",
17741748 params: {
1775- title: "Llama 3.2 1B Instruct",
1776- model: "Meta-Llama-3.2-1B-Instruct",
1749+ title: "Llama 3.1 8B Instruct",
1750+ model: "Meta-Llama-3.1-8B-Instruct",
17771751 contextLength: 16_000,
17781752 },
17791753 icon: "meta.png",
17801754 providerOptions: ["sambanova"],
17811755 isOpenSource: true,
17821756 },
1783- llama323BInstruct: {
1784- title: "Llama3.2 3B",
1785- description: "A model from Meta, fine-tuned for chat",
1786- refUrl: "",
1787- params: {
1788- title: "Llama 3.2 3B Instruct",
1789- model: "Meta-Llama-3.2-3B-Instruct",
1790- contextLength: 8192,
1791- },
1792- icon: "meta.png",
1793- providerOptions: ["sambanova"],
1794- isOpenSource: true,
1795- },
1796- qwq32B: {
1797- title: "QwQ 32B",
1798- description:
1799- "QwQ-32B is Qwen's latest experimental research model, focusing on improving AI reasoning capabilities.",
1800- params: {
1801- title: "QwQ 32B",
1802- model: "QwQ-32B",
1803- contextLength: 16_000,
1804- },
1805- icon: "qwen.png",
1806- providerOptions: ["sambanova"],
1807- isOpenSource: true,
1808- },
18091757 deepseekR1DistillLlama70B: {
18101758 title: "DeepSeek R1 Distill Llama 70B",
18111759 description: "A llama 3.1 70 model distilled from deekseek R1",
@@ -1824,7 +1772,7 @@
18241772 params: {
18251773 title: "DeepSeek R1",
18261774 model: "DeepSeek-R1",
1827- contextLength: 8192,
1775+ contextLength: 32_000,
18281776 },
18291777 icon: "deepseek.png",
18301778 providerOptions: ["sambanova"],
@@ -1842,6 +1790,42 @@
18421790 providerOptions: ["sambanova"],
18431791 isOpenSource: true,
18441792 },
1793+ deepseekV31: {
1794+ title: "DeepSeek V3.1",
1795+ description: "DeekSeek V3.1 reasoning model from DeepSeek",
1796+ params: {
1797+ title: "DeepSeek V3.1",
1798+ model: "DeepSeek-V3.1",
1799+ contextLength: 32_000,
1800+ },
1801+ icon: "deepseek.png",
1802+ providerOptions: ["sambanova"],
1803+ isOpenSource: true,
1804+ },
1805+ qwen332B: {
1806+ title: "Qwen 3 32B",
1807+ description: "Qwen 3 32B model from Alibaba",
1808+ params: {
1809+ title: "Qwen 3 32B",
1810+ model: "Qwen3-32B",
1811+ contextLength: 8192,
1812+ },
1813+ icon: "qwen.png",
1814+ providerOptions: ["sambanova"],
1815+ isOpenSource: true,
1816+ },
1817+ gptOss120b: {
1818+ title: "GPT OSS 120B",
1819+ description: "GPT oss 120b reasoning model from OpenAI",
1820+ params: {
1821+ title: "GPT OSS 120B",
1822+ model: "gpt-oss-120b",
1823+ contextLength: 128_000,
1824+ },
1825+ icon: "openai.png",
1826+ providerOptions: ["sambanova"],
1827+ isOpenSource: true,
1828+ },
18451829 AUTODETECT: {
18461830 title: "Autodetect",
18471831 description:
modified gui/src/pages/AddNewModel/configs/providers.ts +4 −5
@@ -809,17 +809,16 @@
809809 ...completionParamsInputsConfigs,
810810 ],
811811 packages: [
812- models.llama4Scout,
813812 models.llama4Maverick,
814813 models.llama3370BInstruct,
814+ models.llama33Swallow70BInstruct,
815815 models.llama318BInstruct,
816- models.llama31405BInstruct,
817- models.llama321BInstruct,
818- models.llama323BInstruct,
819- models.qwq32B,
820816 models.deepseekR1DistillLlama70B,
821817 models.deepseekR1,
822818 models.deepseekV3,
819+ models.deepseekV31,
820+ models.qwen332B,
821+ models.gptOss120b,
823822 ],
824823 apiKeyUrl: "https://cloud.sambanova.ai/apis",
825824 },