From 0918f24a296d021659135b3f6a3f86ca3dc45f4a Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Wed, 23 Oct 2024 08:54:47 +0200 Subject: [PATCH 1/4] model names --- core/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/index.d.ts b/core/index.d.ts index 183d5e427..798721937 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -691,6 +691,11 @@ export type ModelName = // Llama 3.1 | "llama3.1-8b" | "llama3.1-70b" + // Llama 3.2 + | "llama3.2-1b" + | "llama3.2-3b" + | "llama3.2-11b" + | "llama3.2-90b" // Other Open-source | "phi2" | "phind-codellama-34b" From 62065834d361c3a0ee6f1c1bf0eb7e78bb88574b Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 24 Oct 2024 17:47:37 -0700 Subject: [PATCH 2/4] add chat model form styling --- core/context/retrieval/repoMapRequest.ts | 1 + docs/docs/customize/deep-dives/codebase.md | 2 +- .../model-providers/more/cerebras.md | 2 +- docs/docs/customize/tutorials/llama3.1.md | 2 +- extensions/vscode/src/webviewProtocol.ts | 7 +++---- gui/public/logos/ibm.png | Bin 9543 -> 8066 bytes gui/public/logos/ibmold.png | Bin 0 -> 9543 bytes .../modelSelection/ModelSelectionListbox.tsx | 18 ++++++++---------- .../pages/AddNewModel/configs/providers.ts | 2 +- 9 files changed, 16 insertions(+), 18 deletions(-) create mode 100644 gui/public/logos/ibmold.png diff --git a/core/context/retrieval/repoMapRequest.ts b/core/context/retrieval/repoMapRequest.ts index 618be4808..e4b3e072e 100644 --- a/core/context/retrieval/repoMapRequest.ts +++ b/core/context/retrieval/repoMapRequest.ts @@ -6,6 +6,7 @@ import generateRepoMap from "../../util/generateRepoMap"; const SUPPORTED_MODEL_TITLE_FAMILIES = [ "claude-3", "llama3.1", + "llama3.2", "gemini-1.5", "gpt-4", ]; diff --git a/docs/docs/customize/deep-dives/codebase.md b/docs/docs/customize/deep-dives/codebase.md index 5acf4e857..7734f0596 100644 --- a/docs/docs/customize/deep-dives/codebase.md +++ b/docs/docs/customize/deep-dives/codebase.md @@ -75,4 +75,4 @@ If you need to force a refresh of the index, reload the VS Code window with `cmd ## Repository map -Models in the Claude 3, Llama 3.1, Gemini 1.5, and GPT-4o families will automatically use a [repository map](../context-providers.md#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase. +Models in the Claude 3, Llama 3.1/3.2, Gemini 1.5, and GPT-4o families will automatically use a [repository map](../context-providers.md#repository-map) during codebase retrieval, which allows the model to understand the structure of your codebase and use it to answer questions. Currently, the repository map only contains the filepaths in the codebase. diff --git a/docs/docs/customize/model-providers/more/cerebras.md b/docs/docs/customize/model-providers/more/cerebras.md index 57d549830..d9cbd31dc 100644 --- a/docs/docs/customize/model-providers/more/cerebras.md +++ b/docs/docs/customize/model-providers/more/cerebras.md @@ -1,6 +1,6 @@ # Cerebras Inference -Cerebras Inference uses specialized silicon to provides fast inference for the Llama3.1 8B and Llama3.1 70B models. +Cerebras Inference uses specialized silicon to provides fast inference. 1. Create an account in the portal [here](https://cloud.cerebras.ai/). 2. Create and copy the API key for use in Continue. diff --git a/docs/docs/customize/tutorials/llama3.1.md b/docs/docs/customize/tutorials/llama3.1.md index 1ad6a1dc9..2cec71cda 100644 --- a/docs/docs/customize/tutorials/llama3.1.md +++ b/docs/docs/customize/tutorials/llama3.1.md @@ -4,7 +4,7 @@ description: How to use Llama 3.1 with Continue keywords: [llama, meta, togetherai, ollama, replicate] --- -Continue makes it easy to code with the latest open-source models, including the entire Llama 3.1 family of models. +Continue makes it easy to code with the latest open-source models, including the entire Llama 3.1 family of models. Llama 3.2 models are also supported but not recommended for chat, because they are specifically designed to be small or multi-modal. If you haven't already installed Continue, you can do that [here for VS Code](https://marketplace.visualstudio.com/items?itemName=Continue.continue) or [here for JetBrains](https://plugins.jetbrains.com/plugin/22707-continue). For more general information on customizing Continue, read [our customization docs](../overview.md). diff --git a/extensions/vscode/src/webviewProtocol.ts b/extensions/vscode/src/webviewProtocol.ts index 89524a371..be309e390 100644 --- a/extensions/vscode/src/webviewProtocol.ts +++ b/extensions/vscode/src/webviewProtocol.ts @@ -30,8 +30,7 @@ export async function showTutorial() { } export class VsCodeWebviewProtocol - implements IMessenger -{ + implements IMessenger { listeners = new Map< keyof FromWebviewProtocol, ((message: Message) => any)[] @@ -125,7 +124,7 @@ export class VsCodeWebviewProtocol message = message.split("\n").filter((l: string) => l !== "")[1]; try { message = JSON.parse(message).message; - } catch {} + } catch { } if (message.includes("exceeded")) { message += " To keep using Continue, you can set up a local model or use your own API key."; @@ -179,7 +178,7 @@ export class VsCodeWebviewProtocol }); } - constructor(private readonly reloadConfig: () => void) {} + constructor(private readonly reloadConfig: () => void) { } invoke( messageType: T, data: FromWebviewProtocol[T][0], diff --git a/gui/public/logos/ibm.png b/gui/public/logos/ibm.png index be88ec2edbe33cc630d9833f861d565d4b4d8865..7a465290aed4d8632203a6c430fb9bd1e0e97706 100644 GIT binary patch literal 8066 zcmb7p2{_bk+xLHFFxF976QL$c_MH(b#*%E=vnR`hF)@}z%|ubQY>_Qngvf2rI@OI* zXi#Kp?#dnwvQytR_wyd#@qEwwe$R8fj+x^>uIoI{Yde4EdH$~dT}yK#E_NYy2!gmw zj14Y85F7_VFc>QfXgRK{91b30p2ioC079{`O=qKO$6Imdn&5@#Kfs6Gjr zV1YsAHn4%BuxtntersZI#wL7hY4ZB8a7f+E(pB zJ3E6|Yy17U5=}X`#_*xb`ML6rTJh*@7J@fXpSK9QL(Zevx%1TUH}h@r)!@HvSftv;g;57n;L4NF8ePf|@Jd@D+V;z!; zKz(iH$HpA(qF2MO-;z`@G2PxN61WN$((~g@+Z0n$m?eL}rX*q7nA+G<5bhsv{SW4x zmU-^9Rm3YD>X`*Gmu#*J^icO_bFxA?*z6KlL1^R1^LEZ=s98_k@nK_aJZXH!-@I{R zTOqzExZ)QIVcvZ#Ad)=^ay=}f|8*!1C5AH`J)#K<7bTn^bTzi$TN|;_f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V4~fTsA~HFybQZ_Xs%}(s=IHV6u%oPQ zM0>t!edZf9o`l{KiU&7jOP!RsXXQ6*|0qT_BtA;>`H z*qs77I=C+CrrT$5#Ncx5;%&g%W(Hr_2AxBi>D3Xyt-u}Ezm44g%=?c8P^fw$e*@*~ zT$6RRIS<%Fih9zT>gG&!C%F2%gCCT#qLPM!qOyYWQ42*)!ck>{ikh6FB0*7c%k|6m z{?`I;UpI;e?SB?1s#z$h5LA^3M>YOl5S&}@0u~qxBn0?+P=lQP-BGZ&v!}bUvnR#% zf}|Qw1E;B=DS1{&P4bF{nxmSkB#^GIps22(q9o}>rTP)@_@JO597V7Qe8D1|ufM0c zGx-hJc)ws{3$H+L7XsmguWO*UyAPE>I0L2zpp^1As__43&UeuSf}uOb(~FAIR8z$E zI0zW&Kll0XIaU-msuxOGRZ)@s2V*CgbKoDcj49skRGObV>bqKaKOaxM5=#>>Y2QC5 zS%6t6rK3vfn#!t2)iv@1RIR|2AOA7MoDvMotwB0=%qC2j00#B`F-SIpQ67|w?!W?g zUq7lqild7&)z!;U1y6DDR=DWv>8k)9Dp38MeFFS|X?>_T@PC3geHLtmf=`;9C_3hJ G?Y{sqWr=41 diff --git a/gui/public/logos/ibmold.png b/gui/public/logos/ibmold.png new file mode 100644 index 0000000000000000000000000000000000000000..be88ec2edbe33cc630d9833f861d565d4b4d8865 GIT binary patch literal 9543 zcmeHMcT`i^w+^6U8KW~gqYeadybx&#O-kriZbDHYbflN46d{PA+lCoI&>MPJ2q+>V zAQ-x$VyGIVH7Cnu-Ht+` zcEW}y%upy1Nfb)hdg~VOB=zz&Kk&23)4dXl9H;1xuq)kvCAN zZ{Shn7ZfT`5rvv?LZJxBDAYc`^vbi^U|@?2>GTQk3qJhgRT1E4o1dXg01Abc7kq{I zX*0XQLs2Shd{XqY2<8Vd!rn*dWfbbS7w`!Kiz|K8gCS*5kOB5D-$5<<0bV3@lu7@8+dv>MLJ$GgPJ-dCX9!4+gp#CPOOAOEq-`wOQ?&VbU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ionListbox.tsx index 629463943..a28410eb4 100644 --- a/gui/src/components/modelSelection/ModelSelectionListbox.tsx +++ b/gui/src/components/modelSelection/ModelSelectionListbox.tsx @@ -79,13 +79,13 @@ export const StyledListboxOptions = styled(Listbox.Options)` } `; -export const StyledListboxOption = styled(Listbox.Option)<{ +export const StyledListboxOption = styled(Listbox.Option) <{ selected: boolean; }>` background-color: ${({ selected }) => selected ? vscListActiveBackground : vscInputBackground}; cursor: pointer; - padding: 6px 8px; + padding: 6px 8px 6px 12px; display: flex; gap: 8px; @@ -121,11 +121,10 @@ function ModelSelectionListbox({ {window.vscMediaUrl && selectedProvider.icon && ( )} - {selectedProvider.title} + {selectedProvider.title} {({ selected }) => ( <> {option.title === "Autodetect" ? ( - + ) : ( window.vscMediaUrl && option.icon && ( ) )} - {option.title} + {option.title} {selected && ( diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 1bca2efff..18abdab7b 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -572,7 +572,7 @@ To get started, [register](https://dataplatform.cloud.ibm.com/registration/stepo title: "SambaNova Cloud", provider: "sambanova", refPage: "sambanova", - description: "Use SambaNova Cloud for Llama3.1 fast inference performance", + description: "Use SambaNova Cloud for fast inference performance", icon: "sambanova.png", longDescription: `The SambaNova Cloud is a cloud platform for running large AI models with the world record Llama 3.1 70B/405B performance. You can sign up [here](https://cloud.sambanova.ai/)`, tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], From 39ab98c6df1cb291ea4170b73d29da5430c0e37a Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 24 Oct 2024 18:58:45 -0700 Subject: [PATCH 3/4] llama 3.2 support --- core/index.d.ts | 1 + core/llm/llms/Groq.ts | 4 + core/llm/llms/Ollama.ts | 4 + core/llm/llms/SambaNova.ts | 2 + core/llm/llms/Together.ts | 3 + extensions/vscode/config_schema.json | 733 +++++++++++++++----- gui/src/pages/AddNewModel/configs/models.ts | 104 ++- 7 files changed, 671 insertions(+), 180 deletions(-) diff --git a/core/index.d.ts b/core/index.d.ts index 798721937..c9f84ed7f 100644 --- a/core/index.d.ts +++ b/core/index.d.ts @@ -691,6 +691,7 @@ export type ModelName = // Llama 3.1 | "llama3.1-8b" | "llama3.1-70b" + | "llama3.1-405b" // Llama 3.2 | "llama3.2-1b" | "llama3.2-3b" diff --git a/core/llm/llms/Groq.ts b/core/llm/llms/Groq.ts index bc05263c9..b69e2c020 100644 --- a/core/llm/llms/Groq.ts +++ b/core/llm/llms/Groq.ts @@ -18,6 +18,10 @@ class Groq extends OpenAI { "llama3.1-8b": "llama-3.1-8b-instant", "llama3.1-70b": "llama-3.1-70b-versatile", "llama3.1-405b": "llama-3.1-405b-reasoning", + "llama3.2-1b": "llama-3.2-1b-preview", + "llama3.2-3b": "llama-3.2-3b-preview", + "llama3.2-11b": "llama-3.2-11b-vision-preview", + "llama3.2-90b": "llama-3.2-90b-vision-preview", }; protected _convertModelName(model: string): string { return Groq.modelConversion[model] ?? model; diff --git a/core/llm/llms/Ollama.ts b/core/llm/llms/Ollama.ts index 75e973219..2894cac2e 100644 --- a/core/llm/llms/Ollama.ts +++ b/core/llm/llms/Ollama.ts @@ -101,6 +101,10 @@ class Ollama extends BaseLLM { "llama3.1-8b": "llama3.1:8b", "llama3.1-70b": "llama3.1:70b", "llama3.1-405b": "llama3.1:405b", + "llama3.2-1b": "llama3.2:1b", + "llama3.2-3b": "llama3.2:3b", + "llama3.2-11b": "llama3.2:11b", + "llama3.2-90b": "llama3.2:90b", "phi-2": "phi:2.7b", "phind-codellama-34b": "phind-codellama:34b-v2", "wizardcoder-7b": "wizardcoder:7b-python", diff --git a/core/llm/llms/SambaNova.ts b/core/llm/llms/SambaNova.ts index 2b409dcde..39a216681 100644 --- a/core/llm/llms/SambaNova.ts +++ b/core/llm/llms/SambaNova.ts @@ -12,6 +12,8 @@ class SambaNova extends OpenAI { "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-1b": "Meta-Llama-3.2-1B-Instruct", + "llama3.1-3b": "Meta-Llama-3.2-3B-Instruct", }; protected _convertModelName(model: string) { diff --git a/core/llm/llms/Together.ts b/core/llm/llms/Together.ts index eaa144277..862226394 100644 --- a/core/llm/llms/Together.ts +++ b/core/llm/llms/Together.ts @@ -22,6 +22,9 @@ class Together extends OpenAI { "llama3.1-8b": "meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo", "llama3.1-70b": "meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo", "llama3.1-405b": "meta-llama/Meta-Llama-3.1-405B-Instruct-Turbo", + "llama3.2-3b": "meta-llama/Llama-3.2-3B-Instruct-Turbo", + "llama3.2-11b": "meta-llama/Llama-3.2-11B-Vision-Instruct-Turbo", + "llama3.2-90b": "meta-llama/Llama-3.2-90B-Vision-Instruct-Turbo", "llama2-7b": "togethercomputer/llama-2-7b-chat", "llama2-13b": "togethercomputer/llama-2-13b-chat", "llama2-70b": "togethercomputer/llama-2-70b-chat", diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 6da984ead..4e8b1d2ef 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -88,7 +88,10 @@ "type": "string" } }, - "required": ["cert", "key"] + "required": [ + "cert", + "key" + ] }, "RequestOptions": { "title": "RequestOptions", @@ -398,7 +401,10 @@ "apiType": { "title": "Api Type", "markdownDescription": "OpenAI API type, either `openai` or `azure`", - "enum": ["openai", "azure"] + "enum": [ + "openai", + "azure" + ] }, "apiVersion": { "title": "Api Version", @@ -421,7 +427,11 @@ } } }, - "required": ["title", "provider", "model"], + "required": [ + "title", + "provider", + "model" + ], "allOf": [ { "if": { @@ -431,7 +441,9 @@ } }, "not": { - "required": ["provider"] + "required": [ + "provider" + ] } }, "then": { @@ -459,46 +471,67 @@ ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["apiKey"] + "required": [ + "apiKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["bedrockimport"] + "enum": [ + "bedrockimport" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["modelArn"] + "required": [ + "modelArn" + ] } }, { "if": { "properties": { "provider": { - "enum": ["huggingface-tgi", "huggingface-inference-api"] + "enum": [ + "huggingface-tgi", + "huggingface-inference-api" + ] } } }, "then": { - "required": ["apiBase"] + "required": [ + "apiBase" + ] }, - "required": ["provider"] + "required": [ + "provider" + ] }, { "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -518,10 +551,14 @@ "if": { "properties": { "provider": { - "enum": ["cloudflare"] + "enum": [ + "cloudflare" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -579,10 +616,14 @@ "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -614,10 +655,14 @@ "if": { "properties": { "provider": { - "enum": ["replicate"] + "enum": [ + "replicate" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -625,16 +670,16 @@ "anyOf": [ { "enum": [ - "llama3.1-8b", - "llama3.1-70b", - "llama3.1-405b", + "llama2-7b", + "llama2-13b", "llama3-8b", "llama3-70b", "codellama-7b", "codellama-13b", "codellama-34b", - "llama2-7b", - "llama2-13b" + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b" ] }, { @@ -650,10 +695,14 @@ "if": { "properties": { "provider": { - "enum": ["free-trial"] + "enum": [ + "free-trial" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -677,7 +726,9 @@ "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] }, "apiType": { "not": { @@ -685,7 +736,9 @@ } } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -747,10 +800,14 @@ "if": { "properties": { "provider": { - "enum": ["anthropic"] + "enum": [ + "anthropic" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -791,10 +848,14 @@ "if": { "properties": { "provider": { - "enum": ["anthropic-vertexai"] + "enum": [ + "anthropic-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -834,15 +895,22 @@ "if": { "properties": { "provider": { - "enum": ["cohere"] + "enum": [ + "cohere" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["command-r", "command-r-plus"] + "enum": [ + "command-r", + "command-r-plus" + ] } } } @@ -851,10 +919,14 @@ "if": { "properties": { "provider": { - "enum": ["bedrock"] + "enum": [ + "bedrock" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -879,10 +951,14 @@ "if": { "properties": { "provider": { - "enum": ["sagemaker"] + "enum": [ + "sagemaker" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -896,10 +972,14 @@ "if": { "properties": { "provider": { - "enum": ["gemini"] + "enum": [ + "gemini" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -929,10 +1009,14 @@ "if": { "properties": { "provider": { - "enum": ["gemini-vertexai"] + "enum": [ + "gemini-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -947,21 +1031,30 @@ "gemini-1.5-flash" ] }, - { "type": "string" } + { + "type": "string" + } ] } }, - "required": ["projectId", "region"] + "required": [ + "projectId", + "region" + ] } }, { "if": { "properties": { "provider": { - "enum": ["together"] + "enum": [ + "together" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -978,6 +1071,9 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "codellama-7b", "codellama-13b", "codellama-34b", @@ -998,10 +1094,14 @@ "if": { "properties": { "provider": { - "enum": ["deepinfra"] + "enum": [ + "deepinfra" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1024,7 +1124,9 @@ ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1045,6 +1147,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1073,10 +1179,14 @@ "if": { "properties": { "provider": { - "enum": ["ollama"] + "enum": [ + "ollama" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1096,6 +1206,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phi-2", "phind-codellama-34b", "wizardcoder-7b", @@ -1127,10 +1241,14 @@ "if": { "properties": { "provider": { - "enum": ["mistral"] + "enum": [ + "mistral" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1152,10 +1270,14 @@ "if": { "properties": { "provider": { - "enum": ["mistral-vertexai"] + "enum": [ + "mistral-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1168,21 +1290,30 @@ "mistral-large" ] }, - { "type": "string" } + { + "type": "string" + } ] } }, - "required": ["projectId", "region"] + "required": [ + "projectId", + "region" + ] } }, { "if": { "properties": { "provider": { - "enum": ["deepseek"] + "enum": [ + "deepseek" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1199,7 +1330,10 @@ } }, "model": { - "enum": ["deepseek-chat", "deepseek-coder"] + "enum": [ + "deepseek-chat", + "deepseek-coder" + ] } } } @@ -1208,10 +1342,14 @@ "if": { "properties": { "provider": { - "enum": ["groq"] + "enum": [ + "groq" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1226,6 +1364,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "AUTODETECT" ] } @@ -1236,15 +1378,21 @@ "if": { "properties": { "provider": { - "enum": ["fireworks"] + "enum": [ + "fireworks" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["starcoder-7b"] + "enum": [ + "starcoder-7b" + ] } } } @@ -1256,20 +1404,30 @@ "const": "azure" } }, - "required": ["apiType"] + "required": [ + "apiType" + ] }, "then": { - "required": ["engine", "apiVersion", "apiBase"] + "required": [ + "engine", + "apiVersion", + "apiBase" + ] } }, { "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1286,7 +1444,9 @@ "const": "llamafile" } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1300,15 +1460,22 @@ "if": { "properties": { "provider": { - "enum": ["cerebras"] + "enum": [ + "cerebras" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["llama3.1-8b", "llama3.1-70b"] + "enum": [ + "llama3.1-8b", + "llama3.1-70b" + ] } } } @@ -1317,10 +1484,14 @@ "if": { "properties": { "provider": { - "enum": ["text-gen-webui"] + "enum": [ + "text-gen-webui" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1334,10 +1505,14 @@ "if": { "properties": { "provider": { - "enum": ["flowise"] + "enum": [ + "flowise" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1364,7 +1539,10 @@ "type": "string" } }, - "required": ["key", "value"] + "required": [ + "key", + "value" + ] } }, "additionalFlowiseConfiguration": { @@ -1383,7 +1561,10 @@ "description": "Configuration Property value" } }, - "required": ["key", "value"] + "required": [ + "key", + "value" + ] } }, "model": { @@ -1412,6 +1593,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1457,10 +1642,14 @@ "if": { "properties": { "provider": { - "enum": ["watsonx"] + "enum": [ + "watsonx" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1492,24 +1681,37 @@ ] } }, - "required": ["watsonxUrl", "watsonxProjectId"] + "required": [ + "watsonxUrl", + "watsonxProjectId" + ] } }, { "if": { "properties": { "provider": { - "enum": ["sambanova"] + "enum": [ + "sambanova" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { "anyOf": [ { - "enum": ["llama3.1-8b", "llama3.1-70b", "llama3.1-405b"] + "enum": [ + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b" + ] }, { "type": "string" @@ -1547,7 +1749,9 @@ "type": "string" } }, - "required": ["default"] + "required": [ + "default" + ] }, "SlashCommand": { "title": "SlashCommand", @@ -1604,7 +1808,9 @@ "if": { "properties": { "name": { - "enum": ["issue"] + "enum": [ + "issue" + ] } } }, @@ -1617,17 +1823,23 @@ "description": "Enter the URL of the GitHub repository for which you want to generate the issue." } }, - "required": ["repositoryUrl"] + "required": [ + "repositoryUrl" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["edit"] + "enum": [ + "edit" + ] } } }, @@ -1652,7 +1864,9 @@ "if": { "properties": { "name": { - "enum": ["share"] + "enum": [ + "share" + ] } } }, @@ -1673,7 +1887,9 @@ "if": { "properties": { "name": { - "enum": ["commit"] + "enum": [ + "commit" + ] } } }, @@ -1691,7 +1907,10 @@ } } ], - "required": ["name", "description"] + "required": [ + "name", + "description" + ] }, "CustomCommand": { "title": "CustomCommand", @@ -1710,7 +1929,11 @@ "type": "string" } }, - "required": ["name", "prompt", "description"] + "required": [ + "name", + "prompt", + "description" + ] }, "ContextProviderWithParams": { "title": "ContextProviderWithParams", @@ -1790,7 +2013,9 @@ "if": { "properties": { "name": { - "enum": ["discord"] + "enum": [ + "discord" + ] } } }, @@ -1823,11 +2048,15 @@ "description": "The name of the channel" } }, - "required": ["id"] + "required": [ + "id" + ] } } }, - "required": ["discordKey"] + "required": [ + "discordKey" + ] } } }, @@ -1836,14 +2065,18 @@ { "properties": { "params": { - "required": ["guildId"] + "required": [ + "guildId" + ] } } }, { "properties": { "params": { - "required": ["channels"] + "required": [ + "channels" + ] } } } @@ -1856,7 +2089,9 @@ "if": { "properties": { "name": { - "enum": ["google"] + "enum": [ + "google" + ] } } }, @@ -1869,14 +2104,26 @@ "description": "Your API key for https://serper.dev in order to get Google search results" } }, - "required": ["serperApiKey"] + "required": [ + "serperApiKey" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { - "if": { "properties": { "name": { "enum": ["web"] } } }, + "if": { + "properties": { + "name": { + "enum": [ + "web" + ] + } + } + }, "then": { "properties": { "params": { @@ -1890,14 +2137,18 @@ } } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["open"] + "enum": [ + "open" + ] } } }, @@ -1919,7 +2170,9 @@ "if": { "properties": { "name": { - "enum": ["issue"] + "enum": [ + "issue" + ] } } }, @@ -1948,24 +2201,37 @@ "type": { "type": "string", "description": "The type of issues to search for", - "enum": ["open", "closed", "all"] + "enum": [ + "open", + "closed", + "all" + ] } }, - "required": ["owner", "repo"] + "required": [ + "owner", + "repo" + ] } } }, - "required": ["repos"] + "required": [ + "repos" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["database"] + "enum": [ + "database" + ] } } }, @@ -1986,7 +2252,11 @@ "connection_type": { "type": "string", "description": "The type of database (e.g., 'postgres', 'mysql')", - "enum": ["postgres", "mysql", "sqlite"] + "enum": [ + "postgres", + "mysql", + "sqlite" + ] }, "connection": { "type": "object", @@ -2019,21 +2289,31 @@ "required": [] } }, - "required": ["name", "connection_type", "connection"] + "required": [ + "name", + "connection_type", + "connection" + ] } } }, - "required": ["connections"] + "required": [ + "connections" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["gitlab-mr"] + "enum": [ + "gitlab-mr" + ] } } }, @@ -2054,17 +2334,23 @@ "description": "If you have code selected, filters out comments that aren't related to the selection." } }, - "required": ["token"] + "required": [ + "token" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["jira"] + "enum": [ + "jira" + ] } } }, @@ -2110,17 +2396,24 @@ ] } }, - "required": ["domain", "token"] + "required": [ + "domain", + "token" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["http"] + "enum": [ + "http" + ] } } }, @@ -2138,17 +2431,24 @@ "type": "object" } }, - "required": ["url"] + "required": [ + "url" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["codebase", "folder"] + "enum": [ + "codebase", + "folder" + ] } } }, @@ -2183,7 +2483,9 @@ "if": { "properties": { "name": { - "enum": ["postgres"] + "enum": [ + "postgres" + ] } } }, @@ -2235,14 +2537,22 @@ } } }, - "required": ["host", "port", "user", "password", "database"] + "required": [ + "host", + "port", + "user", + "password", + "database" + ] } }, { "if": { "properties": { "name": { - "enum": ["greptile"] + "enum": [ + "greptile" + ] } } }, @@ -2265,11 +2575,16 @@ } } }, - "required": ["GreptileToken", "GithubToken"] + "required": [ + "GreptileToken", + "GithubToken" + ] } } ], - "required": ["name"] + "required": [ + "name" + ] }, "SerializedContinueConfig": { "title": "config.json", @@ -2303,7 +2618,10 @@ "description": "The URL path to a favicon for the site - by default, it will be `/favicon.ico` path from the Start URL" } }, - "required": ["title", "startUrl"] + "required": [ + "title", + "startUrl" + ] } }, "allowAnonymousTelemetry": { @@ -2470,29 +2788,44 @@ "type": "string" } }, - "required": ["provider"], + "required": [ + "provider" + ], "allOf": [ { "if": { "properties": { "provider": { - "enum": ["cohere", "voyage", "nvidia", "gemini"] + "enum": [ + "cohere", + "voyage", + "nvidia", + "gemini" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["apiKey"] + "required": [ + "apiKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["sagemaker"] + "enum": [ + "sagemaker" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -2500,17 +2833,23 @@ "markdownDescription": "SageMaker endpoint name" } }, - "required": ["model"] + "required": [ + "model" + ] } }, { "if": { "properties": { "provider": { - "enum": ["vertex"] + "enum": [ + "vertex" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -2525,7 +2864,11 @@ "default": "text-embedding-004" } }, - "required": ["projectId", "model", "region"] + "required": [ + "projectId", + "model", + "region" + ] } } ] @@ -2548,16 +2891,22 @@ "type": "object" } }, - "required": ["name"], + "required": [ + "name" + ], "allOf": [ { "if": { "properties": { "name": { - "enum": ["cohere"] + "enum": [ + "cohere" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2579,7 +2928,9 @@ "type": "string" } }, - "required": ["apiKey"] + "required": [ + "apiKey" + ] } } } @@ -2588,10 +2939,14 @@ "if": { "properties": { "name": { - "enum": ["llm"] + "enum": [ + "llm" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2602,7 +2957,9 @@ "type": "string" } }, - "required": ["modelTitle"] + "required": [ + "modelTitle" + ] } } } @@ -2611,10 +2968,14 @@ "if": { "properties": { "name": { - "enum": ["voyage"] + "enum": [ + "voyage" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2633,7 +2994,9 @@ ] } }, - "required": ["apiKey"] + "required": [ + "apiKey" + ] } } } @@ -2642,10 +3005,14 @@ "if": { "properties": { "name": { - "enum": ["huggingface-tei"] + "enum": [ + "huggingface-tei" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2662,12 +3029,17 @@ "default": false }, "truncation_direction": { - "enum": ["Right", "Left"], + "enum": [ + "Right", + "Left" + ], "markdownDescription": "Wether to truncate sequences from the `left` or `right`.", "default": "Right" } }, - "required": ["apiBase"] + "required": [ + "apiBase" + ] } }, "if": { @@ -2678,7 +3050,9 @@ } }, "then": { - "required": ["truncation_direction"] + "required": [ + "truncation_direction" + ] } } } @@ -2743,7 +3117,11 @@ "description": "An optional template string to be used for autocomplete. It will be rendered with the Mustache templating language, and is passed the 'prefix' and 'suffix' variables." }, "multilineCompletions": { - "enum": ["always", "never", "auto"], + "enum": [ + "always", + "never", + "auto" + ], "description": "If set to true, Continue will only complete a single line at a time." }, "useCache": { @@ -2772,7 +3150,10 @@ "type": "object", "properties": { "codeBlockToolbarPosition": { - "enum": ["top", "bottom"], + "enum": [ + "top", + "bottom" + ], "default": "top", "description": "Whether to show the copy and apply code buttons at the top or bottom of code blocks in the sidebar." }, @@ -2797,7 +3178,10 @@ "properties": { "provider": { "type": "string", - "enum": ["posthog", "logstash"], + "enum": [ + "posthog", + "logstash" + ], "description": "The 3rd party analytics provider to use.", "default": "posthog", "markdownEnumDescriptions": [ @@ -2814,30 +3198,40 @@ "description": "The client key to use for analytics" } }, - "required": ["provider"], + "required": [ + "provider" + ], "allOf": [ { "if": { "properties": { "provider": { - "enum": ["posthog"] + "enum": [ + "posthog" + ] } } }, "then": { - "required": ["clientKey"] + "required": [ + "clientKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["logstash"] + "enum": [ + "logstash" + ] } } }, "then": { - "required": ["url"] + "required": [ + "url" + ] } } ] @@ -2909,7 +3303,10 @@ "default": false } }, - "required": ["prompt", "title"] + "required": [ + "prompt", + "title" + ] }, "description": "Quick actions are a way to add custom commands to the Code Lens of function and class declarations." }, @@ -2943,4 +3340,4 @@ } } } -} +} \ No newline at end of file diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index f3e0b9cfe..7494c1bae 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -33,7 +33,7 @@ export interface ModelPackage { export const models: { [key: string]: ModelPackage } = { llama31Chat: { title: "Llama3.1 Chat", - description: "The latest model from Meta, fine-tuned for chat", + description: "A model from Meta, fine-tuned for chat", refUrl: "", params: { title: "Llama3.1-8b", @@ -72,6 +72,47 @@ export const models: { [key: string]: ModelPackage } = { ], isOpenSource: true, }, + llama32Chat: { + title: "Llama3.2 Chat", + description: "The latest model from Meta, fine-tuned for chat. Llama3.1 recommended - chat stayed the same", + refUrl: "", + params: { + title: "Llama3.2-11b", + model: "llama3.2-11b", + contextLength: 8192, + }, + icon: "meta.png", + dimensions: [ + { + name: "Parameter Count", + description: "The number of parameters in the model", + options: { + "1b": { + model: "llama3.2-1b", + title: "Llama3.2-1b", + }, + "3b": { + model: "llama3.2-3b", + title: "Llama3.2-3b", + }, + "11b": { + model: "llama3.2-11b", + title: "Llama3.2-11b", + }, + "90b": { + model: "llama3.2-90b", + title: "Llama3.2-90b", + }, + }, + }, + ], + providerOptions: [ + "ollama", + "groq", + "llama.cpp", + ], + isOpenSource: true, + }, deepseek: { title: "DeepSeek Coder", description: @@ -278,7 +319,7 @@ export const models: { [key: string]: ModelPackage } = { }, llama318bChat: { title: "Llama3.1 8b Chat", - description: "The latest Llama model from Meta, fine-tuned for chat", + description: "A model from Meta, fine-tuned for chat", refUrl: "", params: { title: "Llama3.1-8b", @@ -291,7 +332,7 @@ export const models: { [key: string]: ModelPackage } = { }, llama3170bChat: { title: "Llama3.1 70b Chat", - description: "The latest Llama model from Meta, fine-tuned for chat", + description: "A model from Meta, fine-tuned for chat", refUrl: "", params: { title: "Llama3.1-70b", @@ -304,7 +345,7 @@ export const models: { [key: string]: ModelPackage } = { }, llama31405bChat: { title: "Llama3.1 405b Chat", - description: "The latest Llama model from Meta, fine-tuned for chat", + description: "A model from Meta, fine-tuned for chat", refUrl: "", params: { title: "Llama3.1-405b", @@ -315,22 +356,61 @@ export const models: { [key: string]: ModelPackage } = { providerOptions: ["groq"], isOpenSource: false, }, - llama270bChat: { - title: "Llama2 70b Chat", - description: "The latest Llama model from Meta, fine-tuned for chat", + llama321bChat: { + title: "Llama3.2 1b Chat", + description: "The latest super-lightweight model from Meta, fine-tuned for chat", refUrl: "", params: { - title: "Llama2-70b", - model: "llama2-70b", - contextLength: 4096, + title: "Llama3.2-1b", + model: "llama3.2-1b", + contextLength: 8192, }, icon: "meta.png", - providerOptions: ["groq"], + providerOptions: ["ollama", "groq", "llama.cpp", "sambanova"], + isOpenSource: false, + }, + llama323bChat: { + title: "Llama3.2 3b Chat", + description: "The latest lightweight model from Meta, fine-tuned for chat", + refUrl: "", + params: { + title: "Llama3.2-3b", + model: "llama3.2-3b", + contextLength: 8192, + }, + icon: "meta.png", + providerOptions: ["ollama", "groq", "llama.cpp", "sambanova", "together"], + isOpenSource: false, + }, + llama3211bChat: { + title: "Llama3.2 11b Chat", + description: "The latest lightweight multi-modal model from Meta", + refUrl: "", + params: { + title: "Llama3.2-11b", + model: "llama3.2-11b", + contextLength: 8192, + }, + icon: "meta.png", + providerOptions: ["ollama", "groq", "llama.cpp", "together"], + isOpenSource: false, + }, + llama3290bChat: { + title: "Llama3.2 90b Chat", + description: "The latest lightweight multi-modal model from Meta", + refUrl: "", + params: { + title: "Llama3.2-90b", + model: "llama3.2-90b", + contextLength: 8192, + }, + icon: "meta.png", + providerOptions: ["ollama", "groq", "llama.cpp"], isOpenSource: false, }, llama3Chat: { title: "Llama3 Chat", - description: "The latest model from Meta, fine-tuned for chat", + description: "A model from Meta, fine-tuned for chat", refUrl: "", params: { title: "Llama3-8b", From a762568b0c3d1cdd22f0d36e2b92d7c7111bae80 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 24 Oct 2024 19:06:46 -0700 Subject: [PATCH 4/4] MODEL_SUPPORTS_IMAGES --- core/llm/autodetect.ts | 1 + docs/static/schemas/config.json | 733 ++++++++++++++---- .../src/main/resources/config_schema.json | 733 ++++++++++++++---- extensions/vscode/continue_rc_schema.json | 33 +- 4 files changed, 1158 insertions(+), 342 deletions(-) diff --git a/core/llm/autodetect.ts b/core/llm/autodetect.ts index 369421406..bed9846a6 100644 --- a/core/llm/autodetect.ts +++ b/core/llm/autodetect.ts @@ -79,6 +79,7 @@ const MODEL_SUPPORTS_IMAGES: string[] = [ "opus", "haiku", "pixtral", + "llama3.2", ]; function modelSupportsImages( diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index 6da984ead..4e8b1d2ef 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -88,7 +88,10 @@ "type": "string" } }, - "required": ["cert", "key"] + "required": [ + "cert", + "key" + ] }, "RequestOptions": { "title": "RequestOptions", @@ -398,7 +401,10 @@ "apiType": { "title": "Api Type", "markdownDescription": "OpenAI API type, either `openai` or `azure`", - "enum": ["openai", "azure"] + "enum": [ + "openai", + "azure" + ] }, "apiVersion": { "title": "Api Version", @@ -421,7 +427,11 @@ } } }, - "required": ["title", "provider", "model"], + "required": [ + "title", + "provider", + "model" + ], "allOf": [ { "if": { @@ -431,7 +441,9 @@ } }, "not": { - "required": ["provider"] + "required": [ + "provider" + ] } }, "then": { @@ -459,46 +471,67 @@ ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["apiKey"] + "required": [ + "apiKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["bedrockimport"] + "enum": [ + "bedrockimport" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["modelArn"] + "required": [ + "modelArn" + ] } }, { "if": { "properties": { "provider": { - "enum": ["huggingface-tgi", "huggingface-inference-api"] + "enum": [ + "huggingface-tgi", + "huggingface-inference-api" + ] } } }, "then": { - "required": ["apiBase"] + "required": [ + "apiBase" + ] }, - "required": ["provider"] + "required": [ + "provider" + ] }, { "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -518,10 +551,14 @@ "if": { "properties": { "provider": { - "enum": ["cloudflare"] + "enum": [ + "cloudflare" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -579,10 +616,14 @@ "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -614,10 +655,14 @@ "if": { "properties": { "provider": { - "enum": ["replicate"] + "enum": [ + "replicate" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -625,16 +670,16 @@ "anyOf": [ { "enum": [ - "llama3.1-8b", - "llama3.1-70b", - "llama3.1-405b", + "llama2-7b", + "llama2-13b", "llama3-8b", "llama3-70b", "codellama-7b", "codellama-13b", "codellama-34b", - "llama2-7b", - "llama2-13b" + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b" ] }, { @@ -650,10 +695,14 @@ "if": { "properties": { "provider": { - "enum": ["free-trial"] + "enum": [ + "free-trial" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -677,7 +726,9 @@ "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] }, "apiType": { "not": { @@ -685,7 +736,9 @@ } } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -747,10 +800,14 @@ "if": { "properties": { "provider": { - "enum": ["anthropic"] + "enum": [ + "anthropic" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -791,10 +848,14 @@ "if": { "properties": { "provider": { - "enum": ["anthropic-vertexai"] + "enum": [ + "anthropic-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -834,15 +895,22 @@ "if": { "properties": { "provider": { - "enum": ["cohere"] + "enum": [ + "cohere" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["command-r", "command-r-plus"] + "enum": [ + "command-r", + "command-r-plus" + ] } } } @@ -851,10 +919,14 @@ "if": { "properties": { "provider": { - "enum": ["bedrock"] + "enum": [ + "bedrock" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -879,10 +951,14 @@ "if": { "properties": { "provider": { - "enum": ["sagemaker"] + "enum": [ + "sagemaker" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -896,10 +972,14 @@ "if": { "properties": { "provider": { - "enum": ["gemini"] + "enum": [ + "gemini" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -929,10 +1009,14 @@ "if": { "properties": { "provider": { - "enum": ["gemini-vertexai"] + "enum": [ + "gemini-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -947,21 +1031,30 @@ "gemini-1.5-flash" ] }, - { "type": "string" } + { + "type": "string" + } ] } }, - "required": ["projectId", "region"] + "required": [ + "projectId", + "region" + ] } }, { "if": { "properties": { "provider": { - "enum": ["together"] + "enum": [ + "together" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -978,6 +1071,9 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "codellama-7b", "codellama-13b", "codellama-34b", @@ -998,10 +1094,14 @@ "if": { "properties": { "provider": { - "enum": ["deepinfra"] + "enum": [ + "deepinfra" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1024,7 +1124,9 @@ ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1045,6 +1147,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1073,10 +1179,14 @@ "if": { "properties": { "provider": { - "enum": ["ollama"] + "enum": [ + "ollama" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1096,6 +1206,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phi-2", "phind-codellama-34b", "wizardcoder-7b", @@ -1127,10 +1241,14 @@ "if": { "properties": { "provider": { - "enum": ["mistral"] + "enum": [ + "mistral" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1152,10 +1270,14 @@ "if": { "properties": { "provider": { - "enum": ["mistral-vertexai"] + "enum": [ + "mistral-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1168,21 +1290,30 @@ "mistral-large" ] }, - { "type": "string" } + { + "type": "string" + } ] } }, - "required": ["projectId", "region"] + "required": [ + "projectId", + "region" + ] } }, { "if": { "properties": { "provider": { - "enum": ["deepseek"] + "enum": [ + "deepseek" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1199,7 +1330,10 @@ } }, "model": { - "enum": ["deepseek-chat", "deepseek-coder"] + "enum": [ + "deepseek-chat", + "deepseek-coder" + ] } } } @@ -1208,10 +1342,14 @@ "if": { "properties": { "provider": { - "enum": ["groq"] + "enum": [ + "groq" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1226,6 +1364,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "AUTODETECT" ] } @@ -1236,15 +1378,21 @@ "if": { "properties": { "provider": { - "enum": ["fireworks"] + "enum": [ + "fireworks" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["starcoder-7b"] + "enum": [ + "starcoder-7b" + ] } } } @@ -1256,20 +1404,30 @@ "const": "azure" } }, - "required": ["apiType"] + "required": [ + "apiType" + ] }, "then": { - "required": ["engine", "apiVersion", "apiBase"] + "required": [ + "engine", + "apiVersion", + "apiBase" + ] } }, { "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1286,7 +1444,9 @@ "const": "llamafile" } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1300,15 +1460,22 @@ "if": { "properties": { "provider": { - "enum": ["cerebras"] + "enum": [ + "cerebras" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["llama3.1-8b", "llama3.1-70b"] + "enum": [ + "llama3.1-8b", + "llama3.1-70b" + ] } } } @@ -1317,10 +1484,14 @@ "if": { "properties": { "provider": { - "enum": ["text-gen-webui"] + "enum": [ + "text-gen-webui" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1334,10 +1505,14 @@ "if": { "properties": { "provider": { - "enum": ["flowise"] + "enum": [ + "flowise" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1364,7 +1539,10 @@ "type": "string" } }, - "required": ["key", "value"] + "required": [ + "key", + "value" + ] } }, "additionalFlowiseConfiguration": { @@ -1383,7 +1561,10 @@ "description": "Configuration Property value" } }, - "required": ["key", "value"] + "required": [ + "key", + "value" + ] } }, "model": { @@ -1412,6 +1593,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1457,10 +1642,14 @@ "if": { "properties": { "provider": { - "enum": ["watsonx"] + "enum": [ + "watsonx" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1492,24 +1681,37 @@ ] } }, - "required": ["watsonxUrl", "watsonxProjectId"] + "required": [ + "watsonxUrl", + "watsonxProjectId" + ] } }, { "if": { "properties": { "provider": { - "enum": ["sambanova"] + "enum": [ + "sambanova" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { "anyOf": [ { - "enum": ["llama3.1-8b", "llama3.1-70b", "llama3.1-405b"] + "enum": [ + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b" + ] }, { "type": "string" @@ -1547,7 +1749,9 @@ "type": "string" } }, - "required": ["default"] + "required": [ + "default" + ] }, "SlashCommand": { "title": "SlashCommand", @@ -1604,7 +1808,9 @@ "if": { "properties": { "name": { - "enum": ["issue"] + "enum": [ + "issue" + ] } } }, @@ -1617,17 +1823,23 @@ "description": "Enter the URL of the GitHub repository for which you want to generate the issue." } }, - "required": ["repositoryUrl"] + "required": [ + "repositoryUrl" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["edit"] + "enum": [ + "edit" + ] } } }, @@ -1652,7 +1864,9 @@ "if": { "properties": { "name": { - "enum": ["share"] + "enum": [ + "share" + ] } } }, @@ -1673,7 +1887,9 @@ "if": { "properties": { "name": { - "enum": ["commit"] + "enum": [ + "commit" + ] } } }, @@ -1691,7 +1907,10 @@ } } ], - "required": ["name", "description"] + "required": [ + "name", + "description" + ] }, "CustomCommand": { "title": "CustomCommand", @@ -1710,7 +1929,11 @@ "type": "string" } }, - "required": ["name", "prompt", "description"] + "required": [ + "name", + "prompt", + "description" + ] }, "ContextProviderWithParams": { "title": "ContextProviderWithParams", @@ -1790,7 +2013,9 @@ "if": { "properties": { "name": { - "enum": ["discord"] + "enum": [ + "discord" + ] } } }, @@ -1823,11 +2048,15 @@ "description": "The name of the channel" } }, - "required": ["id"] + "required": [ + "id" + ] } } }, - "required": ["discordKey"] + "required": [ + "discordKey" + ] } } }, @@ -1836,14 +2065,18 @@ { "properties": { "params": { - "required": ["guildId"] + "required": [ + "guildId" + ] } } }, { "properties": { "params": { - "required": ["channels"] + "required": [ + "channels" + ] } } } @@ -1856,7 +2089,9 @@ "if": { "properties": { "name": { - "enum": ["google"] + "enum": [ + "google" + ] } } }, @@ -1869,14 +2104,26 @@ "description": "Your API key for https://serper.dev in order to get Google search results" } }, - "required": ["serperApiKey"] + "required": [ + "serperApiKey" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { - "if": { "properties": { "name": { "enum": ["web"] } } }, + "if": { + "properties": { + "name": { + "enum": [ + "web" + ] + } + } + }, "then": { "properties": { "params": { @@ -1890,14 +2137,18 @@ } } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["open"] + "enum": [ + "open" + ] } } }, @@ -1919,7 +2170,9 @@ "if": { "properties": { "name": { - "enum": ["issue"] + "enum": [ + "issue" + ] } } }, @@ -1948,24 +2201,37 @@ "type": { "type": "string", "description": "The type of issues to search for", - "enum": ["open", "closed", "all"] + "enum": [ + "open", + "closed", + "all" + ] } }, - "required": ["owner", "repo"] + "required": [ + "owner", + "repo" + ] } } }, - "required": ["repos"] + "required": [ + "repos" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["database"] + "enum": [ + "database" + ] } } }, @@ -1986,7 +2252,11 @@ "connection_type": { "type": "string", "description": "The type of database (e.g., 'postgres', 'mysql')", - "enum": ["postgres", "mysql", "sqlite"] + "enum": [ + "postgres", + "mysql", + "sqlite" + ] }, "connection": { "type": "object", @@ -2019,21 +2289,31 @@ "required": [] } }, - "required": ["name", "connection_type", "connection"] + "required": [ + "name", + "connection_type", + "connection" + ] } } }, - "required": ["connections"] + "required": [ + "connections" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["gitlab-mr"] + "enum": [ + "gitlab-mr" + ] } } }, @@ -2054,17 +2334,23 @@ "description": "If you have code selected, filters out comments that aren't related to the selection." } }, - "required": ["token"] + "required": [ + "token" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["jira"] + "enum": [ + "jira" + ] } } }, @@ -2110,17 +2396,24 @@ ] } }, - "required": ["domain", "token"] + "required": [ + "domain", + "token" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["http"] + "enum": [ + "http" + ] } } }, @@ -2138,17 +2431,24 @@ "type": "object" } }, - "required": ["url"] + "required": [ + "url" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["codebase", "folder"] + "enum": [ + "codebase", + "folder" + ] } } }, @@ -2183,7 +2483,9 @@ "if": { "properties": { "name": { - "enum": ["postgres"] + "enum": [ + "postgres" + ] } } }, @@ -2235,14 +2537,22 @@ } } }, - "required": ["host", "port", "user", "password", "database"] + "required": [ + "host", + "port", + "user", + "password", + "database" + ] } }, { "if": { "properties": { "name": { - "enum": ["greptile"] + "enum": [ + "greptile" + ] } } }, @@ -2265,11 +2575,16 @@ } } }, - "required": ["GreptileToken", "GithubToken"] + "required": [ + "GreptileToken", + "GithubToken" + ] } } ], - "required": ["name"] + "required": [ + "name" + ] }, "SerializedContinueConfig": { "title": "config.json", @@ -2303,7 +2618,10 @@ "description": "The URL path to a favicon for the site - by default, it will be `/favicon.ico` path from the Start URL" } }, - "required": ["title", "startUrl"] + "required": [ + "title", + "startUrl" + ] } }, "allowAnonymousTelemetry": { @@ -2470,29 +2788,44 @@ "type": "string" } }, - "required": ["provider"], + "required": [ + "provider" + ], "allOf": [ { "if": { "properties": { "provider": { - "enum": ["cohere", "voyage", "nvidia", "gemini"] + "enum": [ + "cohere", + "voyage", + "nvidia", + "gemini" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["apiKey"] + "required": [ + "apiKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["sagemaker"] + "enum": [ + "sagemaker" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -2500,17 +2833,23 @@ "markdownDescription": "SageMaker endpoint name" } }, - "required": ["model"] + "required": [ + "model" + ] } }, { "if": { "properties": { "provider": { - "enum": ["vertex"] + "enum": [ + "vertex" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -2525,7 +2864,11 @@ "default": "text-embedding-004" } }, - "required": ["projectId", "model", "region"] + "required": [ + "projectId", + "model", + "region" + ] } } ] @@ -2548,16 +2891,22 @@ "type": "object" } }, - "required": ["name"], + "required": [ + "name" + ], "allOf": [ { "if": { "properties": { "name": { - "enum": ["cohere"] + "enum": [ + "cohere" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2579,7 +2928,9 @@ "type": "string" } }, - "required": ["apiKey"] + "required": [ + "apiKey" + ] } } } @@ -2588,10 +2939,14 @@ "if": { "properties": { "name": { - "enum": ["llm"] + "enum": [ + "llm" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2602,7 +2957,9 @@ "type": "string" } }, - "required": ["modelTitle"] + "required": [ + "modelTitle" + ] } } } @@ -2611,10 +2968,14 @@ "if": { "properties": { "name": { - "enum": ["voyage"] + "enum": [ + "voyage" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2633,7 +2994,9 @@ ] } }, - "required": ["apiKey"] + "required": [ + "apiKey" + ] } } } @@ -2642,10 +3005,14 @@ "if": { "properties": { "name": { - "enum": ["huggingface-tei"] + "enum": [ + "huggingface-tei" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2662,12 +3029,17 @@ "default": false }, "truncation_direction": { - "enum": ["Right", "Left"], + "enum": [ + "Right", + "Left" + ], "markdownDescription": "Wether to truncate sequences from the `left` or `right`.", "default": "Right" } }, - "required": ["apiBase"] + "required": [ + "apiBase" + ] } }, "if": { @@ -2678,7 +3050,9 @@ } }, "then": { - "required": ["truncation_direction"] + "required": [ + "truncation_direction" + ] } } } @@ -2743,7 +3117,11 @@ "description": "An optional template string to be used for autocomplete. It will be rendered with the Mustache templating language, and is passed the 'prefix' and 'suffix' variables." }, "multilineCompletions": { - "enum": ["always", "never", "auto"], + "enum": [ + "always", + "never", + "auto" + ], "description": "If set to true, Continue will only complete a single line at a time." }, "useCache": { @@ -2772,7 +3150,10 @@ "type": "object", "properties": { "codeBlockToolbarPosition": { - "enum": ["top", "bottom"], + "enum": [ + "top", + "bottom" + ], "default": "top", "description": "Whether to show the copy and apply code buttons at the top or bottom of code blocks in the sidebar." }, @@ -2797,7 +3178,10 @@ "properties": { "provider": { "type": "string", - "enum": ["posthog", "logstash"], + "enum": [ + "posthog", + "logstash" + ], "description": "The 3rd party analytics provider to use.", "default": "posthog", "markdownEnumDescriptions": [ @@ -2814,30 +3198,40 @@ "description": "The client key to use for analytics" } }, - "required": ["provider"], + "required": [ + "provider" + ], "allOf": [ { "if": { "properties": { "provider": { - "enum": ["posthog"] + "enum": [ + "posthog" + ] } } }, "then": { - "required": ["clientKey"] + "required": [ + "clientKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["logstash"] + "enum": [ + "logstash" + ] } } }, "then": { - "required": ["url"] + "required": [ + "url" + ] } } ] @@ -2909,7 +3303,10 @@ "default": false } }, - "required": ["prompt", "title"] + "required": [ + "prompt", + "title" + ] }, "description": "Quick actions are a way to add custom commands to the Code Lens of function and class declarations." }, @@ -2943,4 +3340,4 @@ } } } -} +} \ No newline at end of file diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index 6da984ead..4e8b1d2ef 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -88,7 +88,10 @@ "type": "string" } }, - "required": ["cert", "key"] + "required": [ + "cert", + "key" + ] }, "RequestOptions": { "title": "RequestOptions", @@ -398,7 +401,10 @@ "apiType": { "title": "Api Type", "markdownDescription": "OpenAI API type, either `openai` or `azure`", - "enum": ["openai", "azure"] + "enum": [ + "openai", + "azure" + ] }, "apiVersion": { "title": "Api Version", @@ -421,7 +427,11 @@ } } }, - "required": ["title", "provider", "model"], + "required": [ + "title", + "provider", + "model" + ], "allOf": [ { "if": { @@ -431,7 +441,9 @@ } }, "not": { - "required": ["provider"] + "required": [ + "provider" + ] } }, "then": { @@ -459,46 +471,67 @@ ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["apiKey"] + "required": [ + "apiKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["bedrockimport"] + "enum": [ + "bedrockimport" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["modelArn"] + "required": [ + "modelArn" + ] } }, { "if": { "properties": { "provider": { - "enum": ["huggingface-tgi", "huggingface-inference-api"] + "enum": [ + "huggingface-tgi", + "huggingface-inference-api" + ] } } }, "then": { - "required": ["apiBase"] + "required": [ + "apiBase" + ] }, - "required": ["provider"] + "required": [ + "provider" + ] }, { "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -518,10 +551,14 @@ "if": { "properties": { "provider": { - "enum": ["cloudflare"] + "enum": [ + "cloudflare" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -579,10 +616,14 @@ "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -614,10 +655,14 @@ "if": { "properties": { "provider": { - "enum": ["replicate"] + "enum": [ + "replicate" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -625,16 +670,16 @@ "anyOf": [ { "enum": [ - "llama3.1-8b", - "llama3.1-70b", - "llama3.1-405b", + "llama2-7b", + "llama2-13b", "llama3-8b", "llama3-70b", "codellama-7b", "codellama-13b", "codellama-34b", - "llama2-7b", - "llama2-13b" + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b" ] }, { @@ -650,10 +695,14 @@ "if": { "properties": { "provider": { - "enum": ["free-trial"] + "enum": [ + "free-trial" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -677,7 +726,9 @@ "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] }, "apiType": { "not": { @@ -685,7 +736,9 @@ } } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -747,10 +800,14 @@ "if": { "properties": { "provider": { - "enum": ["anthropic"] + "enum": [ + "anthropic" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -791,10 +848,14 @@ "if": { "properties": { "provider": { - "enum": ["anthropic-vertexai"] + "enum": [ + "anthropic-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -834,15 +895,22 @@ "if": { "properties": { "provider": { - "enum": ["cohere"] + "enum": [ + "cohere" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["command-r", "command-r-plus"] + "enum": [ + "command-r", + "command-r-plus" + ] } } } @@ -851,10 +919,14 @@ "if": { "properties": { "provider": { - "enum": ["bedrock"] + "enum": [ + "bedrock" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -879,10 +951,14 @@ "if": { "properties": { "provider": { - "enum": ["sagemaker"] + "enum": [ + "sagemaker" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -896,10 +972,14 @@ "if": { "properties": { "provider": { - "enum": ["gemini"] + "enum": [ + "gemini" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -929,10 +1009,14 @@ "if": { "properties": { "provider": { - "enum": ["gemini-vertexai"] + "enum": [ + "gemini-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -947,21 +1031,30 @@ "gemini-1.5-flash" ] }, - { "type": "string" } + { + "type": "string" + } ] } }, - "required": ["projectId", "region"] + "required": [ + "projectId", + "region" + ] } }, { "if": { "properties": { "provider": { - "enum": ["together"] + "enum": [ + "together" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -978,6 +1071,9 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "codellama-7b", "codellama-13b", "codellama-34b", @@ -998,10 +1094,14 @@ "if": { "properties": { "provider": { - "enum": ["deepinfra"] + "enum": [ + "deepinfra" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1024,7 +1124,9 @@ ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1045,6 +1147,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1073,10 +1179,14 @@ "if": { "properties": { "provider": { - "enum": ["ollama"] + "enum": [ + "ollama" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1096,6 +1206,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phi-2", "phind-codellama-34b", "wizardcoder-7b", @@ -1127,10 +1241,14 @@ "if": { "properties": { "provider": { - "enum": ["mistral"] + "enum": [ + "mistral" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1152,10 +1270,14 @@ "if": { "properties": { "provider": { - "enum": ["mistral-vertexai"] + "enum": [ + "mistral-vertexai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1168,21 +1290,30 @@ "mistral-large" ] }, - { "type": "string" } + { + "type": "string" + } ] } }, - "required": ["projectId", "region"] + "required": [ + "projectId", + "region" + ] } }, { "if": { "properties": { "provider": { - "enum": ["deepseek"] + "enum": [ + "deepseek" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1199,7 +1330,10 @@ } }, "model": { - "enum": ["deepseek-chat", "deepseek-coder"] + "enum": [ + "deepseek-chat", + "deepseek-coder" + ] } } } @@ -1208,10 +1342,14 @@ "if": { "properties": { "provider": { - "enum": ["groq"] + "enum": [ + "groq" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1226,6 +1364,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "AUTODETECT" ] } @@ -1236,15 +1378,21 @@ "if": { "properties": { "provider": { - "enum": ["fireworks"] + "enum": [ + "fireworks" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["starcoder-7b"] + "enum": [ + "starcoder-7b" + ] } } } @@ -1256,20 +1404,30 @@ "const": "azure" } }, - "required": ["apiType"] + "required": [ + "apiType" + ] }, "then": { - "required": ["engine", "apiVersion", "apiBase"] + "required": [ + "engine", + "apiVersion", + "apiBase" + ] } }, { "if": { "properties": { "provider": { - "enum": ["openai"] + "enum": [ + "openai" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1286,7 +1444,9 @@ "const": "llamafile" } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1300,15 +1460,22 @@ "if": { "properties": { "provider": { - "enum": ["cerebras"] + "enum": [ + "cerebras" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { - "enum": ["llama3.1-8b", "llama3.1-70b"] + "enum": [ + "llama3.1-8b", + "llama3.1-70b" + ] } } } @@ -1317,10 +1484,14 @@ "if": { "properties": { "provider": { - "enum": ["text-gen-webui"] + "enum": [ + "text-gen-webui" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1334,10 +1505,14 @@ "if": { "properties": { "provider": { - "enum": ["flowise"] + "enum": [ + "flowise" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1364,7 +1539,10 @@ "type": "string" } }, - "required": ["key", "value"] + "required": [ + "key", + "value" + ] } }, "additionalFlowiseConfiguration": { @@ -1383,7 +1561,10 @@ "description": "Configuration Property value" } }, - "required": ["key", "value"] + "required": [ + "key", + "value" + ] } }, "model": { @@ -1412,6 +1593,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1457,10 +1642,14 @@ "if": { "properties": { "provider": { - "enum": ["watsonx"] + "enum": [ + "watsonx" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -1492,24 +1681,37 @@ ] } }, - "required": ["watsonxUrl", "watsonxProjectId"] + "required": [ + "watsonxUrl", + "watsonxProjectId" + ] } }, { "if": { "properties": { "provider": { - "enum": ["sambanova"] + "enum": [ + "sambanova" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { "model": { "anyOf": [ { - "enum": ["llama3.1-8b", "llama3.1-70b", "llama3.1-405b"] + "enum": [ + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b" + ] }, { "type": "string" @@ -1547,7 +1749,9 @@ "type": "string" } }, - "required": ["default"] + "required": [ + "default" + ] }, "SlashCommand": { "title": "SlashCommand", @@ -1604,7 +1808,9 @@ "if": { "properties": { "name": { - "enum": ["issue"] + "enum": [ + "issue" + ] } } }, @@ -1617,17 +1823,23 @@ "description": "Enter the URL of the GitHub repository for which you want to generate the issue." } }, - "required": ["repositoryUrl"] + "required": [ + "repositoryUrl" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["edit"] + "enum": [ + "edit" + ] } } }, @@ -1652,7 +1864,9 @@ "if": { "properties": { "name": { - "enum": ["share"] + "enum": [ + "share" + ] } } }, @@ -1673,7 +1887,9 @@ "if": { "properties": { "name": { - "enum": ["commit"] + "enum": [ + "commit" + ] } } }, @@ -1691,7 +1907,10 @@ } } ], - "required": ["name", "description"] + "required": [ + "name", + "description" + ] }, "CustomCommand": { "title": "CustomCommand", @@ -1710,7 +1929,11 @@ "type": "string" } }, - "required": ["name", "prompt", "description"] + "required": [ + "name", + "prompt", + "description" + ] }, "ContextProviderWithParams": { "title": "ContextProviderWithParams", @@ -1790,7 +2013,9 @@ "if": { "properties": { "name": { - "enum": ["discord"] + "enum": [ + "discord" + ] } } }, @@ -1823,11 +2048,15 @@ "description": "The name of the channel" } }, - "required": ["id"] + "required": [ + "id" + ] } } }, - "required": ["discordKey"] + "required": [ + "discordKey" + ] } } }, @@ -1836,14 +2065,18 @@ { "properties": { "params": { - "required": ["guildId"] + "required": [ + "guildId" + ] } } }, { "properties": { "params": { - "required": ["channels"] + "required": [ + "channels" + ] } } } @@ -1856,7 +2089,9 @@ "if": { "properties": { "name": { - "enum": ["google"] + "enum": [ + "google" + ] } } }, @@ -1869,14 +2104,26 @@ "description": "Your API key for https://serper.dev in order to get Google search results" } }, - "required": ["serperApiKey"] + "required": [ + "serperApiKey" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { - "if": { "properties": { "name": { "enum": ["web"] } } }, + "if": { + "properties": { + "name": { + "enum": [ + "web" + ] + } + } + }, "then": { "properties": { "params": { @@ -1890,14 +2137,18 @@ } } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["open"] + "enum": [ + "open" + ] } } }, @@ -1919,7 +2170,9 @@ "if": { "properties": { "name": { - "enum": ["issue"] + "enum": [ + "issue" + ] } } }, @@ -1948,24 +2201,37 @@ "type": { "type": "string", "description": "The type of issues to search for", - "enum": ["open", "closed", "all"] + "enum": [ + "open", + "closed", + "all" + ] } }, - "required": ["owner", "repo"] + "required": [ + "owner", + "repo" + ] } } }, - "required": ["repos"] + "required": [ + "repos" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["database"] + "enum": [ + "database" + ] } } }, @@ -1986,7 +2252,11 @@ "connection_type": { "type": "string", "description": "The type of database (e.g., 'postgres', 'mysql')", - "enum": ["postgres", "mysql", "sqlite"] + "enum": [ + "postgres", + "mysql", + "sqlite" + ] }, "connection": { "type": "object", @@ -2019,21 +2289,31 @@ "required": [] } }, - "required": ["name", "connection_type", "connection"] + "required": [ + "name", + "connection_type", + "connection" + ] } } }, - "required": ["connections"] + "required": [ + "connections" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["gitlab-mr"] + "enum": [ + "gitlab-mr" + ] } } }, @@ -2054,17 +2334,23 @@ "description": "If you have code selected, filters out comments that aren't related to the selection." } }, - "required": ["token"] + "required": [ + "token" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["jira"] + "enum": [ + "jira" + ] } } }, @@ -2110,17 +2396,24 @@ ] } }, - "required": ["domain", "token"] + "required": [ + "domain", + "token" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["http"] + "enum": [ + "http" + ] } } }, @@ -2138,17 +2431,24 @@ "type": "object" } }, - "required": ["url"] + "required": [ + "url" + ] } }, - "required": ["params"] + "required": [ + "params" + ] } }, { "if": { "properties": { "name": { - "enum": ["codebase", "folder"] + "enum": [ + "codebase", + "folder" + ] } } }, @@ -2183,7 +2483,9 @@ "if": { "properties": { "name": { - "enum": ["postgres"] + "enum": [ + "postgres" + ] } } }, @@ -2235,14 +2537,22 @@ } } }, - "required": ["host", "port", "user", "password", "database"] + "required": [ + "host", + "port", + "user", + "password", + "database" + ] } }, { "if": { "properties": { "name": { - "enum": ["greptile"] + "enum": [ + "greptile" + ] } } }, @@ -2265,11 +2575,16 @@ } } }, - "required": ["GreptileToken", "GithubToken"] + "required": [ + "GreptileToken", + "GithubToken" + ] } } ], - "required": ["name"] + "required": [ + "name" + ] }, "SerializedContinueConfig": { "title": "config.json", @@ -2303,7 +2618,10 @@ "description": "The URL path to a favicon for the site - by default, it will be `/favicon.ico` path from the Start URL" } }, - "required": ["title", "startUrl"] + "required": [ + "title", + "startUrl" + ] } }, "allowAnonymousTelemetry": { @@ -2470,29 +2788,44 @@ "type": "string" } }, - "required": ["provider"], + "required": [ + "provider" + ], "allOf": [ { "if": { "properties": { "provider": { - "enum": ["cohere", "voyage", "nvidia", "gemini"] + "enum": [ + "cohere", + "voyage", + "nvidia", + "gemini" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { - "required": ["apiKey"] + "required": [ + "apiKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["sagemaker"] + "enum": [ + "sagemaker" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -2500,17 +2833,23 @@ "markdownDescription": "SageMaker endpoint name" } }, - "required": ["model"] + "required": [ + "model" + ] } }, { "if": { "properties": { "provider": { - "enum": ["vertex"] + "enum": [ + "vertex" + ] } }, - "required": ["provider"] + "required": [ + "provider" + ] }, "then": { "properties": { @@ -2525,7 +2864,11 @@ "default": "text-embedding-004" } }, - "required": ["projectId", "model", "region"] + "required": [ + "projectId", + "model", + "region" + ] } } ] @@ -2548,16 +2891,22 @@ "type": "object" } }, - "required": ["name"], + "required": [ + "name" + ], "allOf": [ { "if": { "properties": { "name": { - "enum": ["cohere"] + "enum": [ + "cohere" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2579,7 +2928,9 @@ "type": "string" } }, - "required": ["apiKey"] + "required": [ + "apiKey" + ] } } } @@ -2588,10 +2939,14 @@ "if": { "properties": { "name": { - "enum": ["llm"] + "enum": [ + "llm" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2602,7 +2957,9 @@ "type": "string" } }, - "required": ["modelTitle"] + "required": [ + "modelTitle" + ] } } } @@ -2611,10 +2968,14 @@ "if": { "properties": { "name": { - "enum": ["voyage"] + "enum": [ + "voyage" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2633,7 +2994,9 @@ ] } }, - "required": ["apiKey"] + "required": [ + "apiKey" + ] } } } @@ -2642,10 +3005,14 @@ "if": { "properties": { "name": { - "enum": ["huggingface-tei"] + "enum": [ + "huggingface-tei" + ] } }, - "required": ["name"] + "required": [ + "name" + ] }, "then": { "properties": { @@ -2662,12 +3029,17 @@ "default": false }, "truncation_direction": { - "enum": ["Right", "Left"], + "enum": [ + "Right", + "Left" + ], "markdownDescription": "Wether to truncate sequences from the `left` or `right`.", "default": "Right" } }, - "required": ["apiBase"] + "required": [ + "apiBase" + ] } }, "if": { @@ -2678,7 +3050,9 @@ } }, "then": { - "required": ["truncation_direction"] + "required": [ + "truncation_direction" + ] } } } @@ -2743,7 +3117,11 @@ "description": "An optional template string to be used for autocomplete. It will be rendered with the Mustache templating language, and is passed the 'prefix' and 'suffix' variables." }, "multilineCompletions": { - "enum": ["always", "never", "auto"], + "enum": [ + "always", + "never", + "auto" + ], "description": "If set to true, Continue will only complete a single line at a time." }, "useCache": { @@ -2772,7 +3150,10 @@ "type": "object", "properties": { "codeBlockToolbarPosition": { - "enum": ["top", "bottom"], + "enum": [ + "top", + "bottom" + ], "default": "top", "description": "Whether to show the copy and apply code buttons at the top or bottom of code blocks in the sidebar." }, @@ -2797,7 +3178,10 @@ "properties": { "provider": { "type": "string", - "enum": ["posthog", "logstash"], + "enum": [ + "posthog", + "logstash" + ], "description": "The 3rd party analytics provider to use.", "default": "posthog", "markdownEnumDescriptions": [ @@ -2814,30 +3198,40 @@ "description": "The client key to use for analytics" } }, - "required": ["provider"], + "required": [ + "provider" + ], "allOf": [ { "if": { "properties": { "provider": { - "enum": ["posthog"] + "enum": [ + "posthog" + ] } } }, "then": { - "required": ["clientKey"] + "required": [ + "clientKey" + ] } }, { "if": { "properties": { "provider": { - "enum": ["logstash"] + "enum": [ + "logstash" + ] } } }, "then": { - "required": ["url"] + "required": [ + "url" + ] } } ] @@ -2909,7 +3303,10 @@ "default": false } }, - "required": ["prompt", "title"] + "required": [ + "prompt", + "title" + ] }, "description": "Quick actions are a way to add custom commands to the Code Lens of function and class declarations." }, @@ -2943,4 +3340,4 @@ } } } -} +} \ No newline at end of file diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 86304fa6e..f6f168aac 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -670,16 +670,16 @@ "anyOf": [ { "enum": [ - "llama3.1-8b", - "llama3.1-70b", - "llama3.1-405b", + "llama2-7b", + "llama2-13b", "llama3-8b", "llama3-70b", "codellama-7b", "codellama-13b", "codellama-34b", - "llama2-7b", - "llama2-13b" + "llama3.1-8b", + "llama3.1-70b", + "llama3.1-405b" ] }, { @@ -1071,6 +1071,9 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "codellama-7b", "codellama-13b", "codellama-34b", @@ -1144,6 +1147,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1199,6 +1206,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phi-2", "phind-codellama-34b", "wizardcoder-7b", @@ -1353,6 +1364,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "AUTODETECT" ] } @@ -1578,6 +1593,10 @@ "llama3.1-8b", "llama3.1-70b", "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b", + "llama3.2-11b", + "llama3.2-90b", "phind-codellama-34b", "wizardcoder-7b", "wizardcoder-13b", @@ -1689,7 +1708,9 @@ "enum": [ "llama3.1-8b", "llama3.1-70b", - "llama3.1-405b" + "llama3.1-405b", + "llama3.2-1b", + "llama3.2-3b" ] }, {