diff --git a/docs/docs/reference/Model Providers/azure.md b/docs/docs/reference/Model Providers/azure.md index 7bacee211..45e48ce99 100644 --- a/docs/docs/reference/Model Providers/azure.md +++ b/docs/docs/reference/Model Providers/azure.md @@ -15,7 +15,7 @@ You need to apply for access to the Azure OpenAI service. Response times are typ "title": "Azure OpenAI", "provider": "azure", "model": "gpt-4", - "apiBase": "https://my-azure-openai-instance.openai.azure.com/", + "apiBase": "https://my-azure-openai-instance.openai.azure.com/", "apiKey": "" }] ``` diff --git a/docs/static/schemas/config.json b/docs/static/schemas/config.json index ba9304c8e..91b5ebd53 100644 --- a/docs/static/schemas/config.json +++ b/docs/static/schemas/config.json @@ -160,7 +160,8 @@ "fireworks", "continue-proxy", "cloudflare", - "deepseek" + "deepseek", + "azure" ], "markdownEnumDescriptions": [ "### OpenAI\nUse gpt-4, gpt-3.5-turbo, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/openai)", diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index ba9304c8e..91b5ebd53 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -160,7 +160,8 @@ "fireworks", "continue-proxy", "cloudflare", - "deepseek" + "deepseek", + "azure" ], "markdownEnumDescriptions": [ "### OpenAI\nUse gpt-4, gpt-3.5-turbo, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/openai)", diff --git a/extensions/vscode/continue_rc_schema.json b/extensions/vscode/continue_rc_schema.json index 9b0f6fc9f..b137f6dd9 100644 --- a/extensions/vscode/continue_rc_schema.json +++ b/extensions/vscode/continue_rc_schema.json @@ -160,7 +160,8 @@ "fireworks", "continue-proxy", "cloudflare", - "deepseek" + "deepseek", + "azure" ], "markdownEnumDescriptions": [ "### OpenAI\nUse gpt-4, gpt-3.5-turbo, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/openai)", diff --git a/gui/src/components/modelSelection/ModelCard.tsx b/gui/src/components/modelSelection/ModelCard.tsx index 83bf7403f..3342a8230 100644 --- a/gui/src/components/modelSelection/ModelCard.tsx +++ b/gui/src/components/modelSelection/ModelCard.tsx @@ -9,14 +9,14 @@ import { } from ".."; import HeaderButtonWithText from "../HeaderButtonWithText"; import InfoHover from "../InfoHover"; -import ModelProviderTag, { ModelProviderTagVals } from "./ModelProviderTag"; +import ModelProviderTag, { ModelProviderTags } from "./ModelProviderTag"; import { PackageDimension } from "../../pages/AddNewModel/configs/models"; import { providers } from "../../pages/AddNewModel/configs/providers"; interface ModelCardProps { title: string; description: string; - tags?: ModelProviderTagVals[]; + tags?: ModelProviderTags[]; refUrl?: string; icon?: string; onClick?: ( diff --git a/gui/src/components/modelSelection/ModelProviderTag.tsx b/gui/src/components/modelSelection/ModelProviderTag.tsx index 9c3776bdf..d4e009e51 100644 --- a/gui/src/components/modelSelection/ModelProviderTag.tsx +++ b/gui/src/components/modelSelection/ModelProviderTag.tsx @@ -1,24 +1,24 @@ import { defaultBorderRadius } from ".."; -export enum ModelProviderTagVals { +export enum ModelProviderTags { RequiresApiKey = "Requires API Key", Local = "Local", Free = "Free", OpenSource = "Open-Source", } -export interface ModelProviderTagValsProps { - tag: ModelProviderTagVals; +export interface ModelProviderTagProps { + tag: ModelProviderTags; } export const MODEL_PROVIDER_TAG_COLORS = { - [ModelProviderTagVals.RequiresApiKey]: "#FF0000", - [ModelProviderTagVals.Local]: "#00bb00", - [ModelProviderTagVals.OpenSource]: "#0033FF", - [ModelProviderTagVals.Free]: "#ffff00", + [ModelProviderTags.RequiresApiKey]: "#FF0000", + [ModelProviderTags.Local]: "#00bb00", + [ModelProviderTags.OpenSource]: "#0033FF", + [ModelProviderTags.Free]: "#ffff00", }; -export default function ModelProviderTag({ tag }: ModelProviderTagValsProps) { +export default function ModelProviderTag({ tag }: ModelProviderTagProps) { return ( Add a new model
- { - setProvidersSelected((prev) => !prev); - }} - > To add a new model you can either:
    @@ -97,96 +90,117 @@ function AddNewModel() {
  • Select a specific model directly
- + Visit our setup overview docs - {" "} + {" "} to learn more.
- {providersSelected ? ( - -

Providers

- {Object.entries(providers).map(([providerName, modelInfo]) => ( - { - console.log(`/addModel/provider/${providerName}`); - navigate(`/addModel/provider/${providerName}`); - }} - /> - ))} -
- ) : ( - -

Models

+ + { + setProvidersSelected((prev) => !prev); + }} + > + {providersSelected ? ( + <> +
+

Providers

+

+ Select a provider below, or configure your own in{" "} + config.json +

+
- {Object.entries(modelsByProvider).map( - ([providerTitle, modelConfigsByProviderTitle]) => ( -
-
-

{providerTitle}

-
-
+ {Object.entries(providers).map(([providerName, modelInfo]) => ( + { + console.log(`/addModel/provider/${providerName}`); + navigate(`/addModel/provider/${providerName}`); + }} + /> + ))} + + ) : ( + <> +
+

Models

+

+ Select a model from the most popular options below, or configure + your own in config.json +

+
- {modelConfigsByProviderTitle.map((config) => ( -
- { - const model = { - ...config.params, - ..._.merge( - {}, - ...(config.dimensions?.map((dimension, i) => { - if (!dimensionChoices?.[i]) return {}; - return { - ...dimension.options[dimensionChoices[i]], - }; - }) || []), - ), - provider: providers[selectedProvider].provider, - }; - ideMessenger.post("config/addModel", { model }); - dispatch( - setDefaultModel({ title: model.title, force: true }), - ); - navigate("/"); + {Object.entries(modelsByProvider).map( + ([providerTitle, modelConfigsByProviderTitle]) => ( +
+
+

{providerTitle}

+
+ >
- ))} -
- ), - )} - - )} -
-
-

- OR choose from other providers / models by editing config.json. -

+ {modelConfigsByProviderTitle.map((config) => ( +
+ { + const model = { + ...config.params, + ..._.merge( + {}, + ...(config.dimensions?.map((dimension, i) => { + if (!dimensionChoices?.[i]) return {}; + return { + ...dimension.options[dimensionChoices[i]], + }; + }) || []), + ), + provider: providers[selectedProvider].provider, + }; + ideMessenger.post("config/addModel", { model }); + dispatch( + setDefaultModel({ + title: model.title, + force: true, + }), + ); + navigate("/"); + }} + /> +
+ ))} +
+ ), + )} + + )} + { ideMessenger.post("openConfigJson", undefined); @@ -194,7 +208,7 @@ function AddNewModel() { >

Open config.json

-
+
); } diff --git a/gui/src/pages/AddNewModel/ConfigureProvider.tsx b/gui/src/pages/AddNewModel/ConfigureProvider.tsx index 86dbfee9d..f96d9c22c 100644 --- a/gui/src/pages/AddNewModel/ConfigureProvider.tsx +++ b/gui/src/pages/AddNewModel/ConfigureProvider.tsx @@ -239,23 +239,6 @@ function ConfigureProvider() { /> ); })} - -
-
-

- OR choose from other providers / models by editing config.json. -

- { - ideMessenger.post("openConfigJson", undefined); - }} - > -

Open config.json

-
-
diff --git a/gui/src/pages/AddNewModel/configs/completionParamsInputs.ts b/gui/src/pages/AddNewModel/configs/completionParamsInputs.ts index cbd5c0094..089bc4eac 100644 --- a/gui/src/pages/AddNewModel/configs/completionParamsInputs.ts +++ b/gui/src/pages/AddNewModel/configs/completionParamsInputs.ts @@ -1,63 +1,60 @@ import { InputDescriptor } from "./providers"; -export const contextLength: InputDescriptor = { - inputType: "number", - key: "contextLength", - label: "Context Length", - defaultValue: undefined, - required: false, -}; - -export const temperature: InputDescriptor = { - inputType: "number", - key: "completionOptions.temperature", - label: "Temperature", - defaultValue: undefined, - required: false, - min: 0.0, - max: 1.0, - step: 0.01, -}; - -export const topP: InputDescriptor = { - inputType: "number", - key: "completionOptions.topP", - label: "Top-P", - defaultValue: undefined, - required: false, - min: 0, - max: 1, - step: 0.01, -}; - -export const topK: InputDescriptor = { - inputType: "number", - key: "completionOptions.topK", - label: "Top-K", - defaultValue: undefined, - required: false, - min: 0, - step: 1, -}; - -export const presencePenalty: InputDescriptor = { - inputType: "number", - key: "completionOptions.presencePenalty", - label: "Presence Penalty", - defaultValue: undefined, - required: false, - min: 0, - max: 1, - step: 0.01, -}; - -export const frequencyPenalty: InputDescriptor = { - inputType: "number", - key: "completionOptions.frequencyPenalty", - label: "Frequency Penalty", - defaultValue: undefined, - required: false, - min: 0, - max: 1, - step: 0.01, +export const completionParamsInputs: Record = { + contextLength: { + inputType: "number", + key: "contextLength", + label: "Context Length", + defaultValue: undefined, + required: false, + }, + temperature: { + inputType: "number", + key: "completionOptions.temperature", + label: "Temperature", + defaultValue: undefined, + required: false, + min: 0.0, + max: 1.0, + step: 0.01, + }, + topP: { + inputType: "number", + key: "completionOptions.topP", + label: "Top-P", + defaultValue: undefined, + required: false, + min: 0, + max: 1, + step: 0.01, + }, + topK: { + inputType: "number", + key: "completionOptions.topK", + label: "Top-K", + defaultValue: undefined, + required: false, + min: 0, + step: 1, + }, + presencePenalty: { + inputType: "number", + key: "completionOptions.presencePenalty", + label: "Presence Penalty", + defaultValue: undefined, + required: false, + min: 0, + max: 1, + step: 0.01, + }, + frequencyPenalty: { + inputType: "number", + key: "completionOptions.frequencyPenalty", + label: "Frequency Penalty", + defaultValue: undefined, + required: false, + min: 0, + max: 1, + step: 0.01, + }, }; diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index 0fd050687..b6be80ab6 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -1,5 +1,5 @@ import { ILLM, ModelName, ModelProvider } from "core"; -import { ModelProviderTagVals } from "../../../components/modelSelection/ModelProviderTag"; +import { ModelProviderTags } from "../../../components/modelSelection/ModelProviderTag"; import { InputDescriptor } from "./providers"; // A dimension is like parameter count - 7b, 13b, 34b, etc. @@ -16,7 +16,7 @@ export interface ModelPackage { collectInputFor?: InputDescriptor[]; description: string; refUrl?: string; - tags?: ModelProviderTagVals[]; + tags?: ModelProviderTags[]; params: { model: ILLM["model"]; templateMessages?: ILLM["templateMessages"]; diff --git a/gui/src/pages/AddNewModel/configs/providers.ts b/gui/src/pages/AddNewModel/configs/providers.ts index 629a183c6..ea024108b 100644 --- a/gui/src/pages/AddNewModel/configs/providers.ts +++ b/gui/src/pages/AddNewModel/configs/providers.ts @@ -2,9 +2,9 @@ import { ModelProvider } from "core"; import { ftl } from "../../../components/dialogs/FTCDialog"; import type { ModelPackage } from "./models"; import { HTMLInputTypeAttribute } from "react"; -import { ModelProviderTagVals } from "../../../components/modelSelection/ModelProviderTag"; +import { ModelProviderTags } from "../../../components/modelSelection/ModelProviderTag"; import { models } from "./models"; -import * as completionParamsInputsObj from "./completionParamsInputs"; +import { completionParamsInputs } from "./completionParamsInputs"; export interface InputDescriptor { inputType: HTMLInputTypeAttribute; @@ -27,7 +27,7 @@ export interface ProviderInfo { provider: ModelProvider; description: string; longDescription?: string; - tags?: ModelProviderTagVals[]; + tags?: ModelProviderTags[]; packages: ModelPackage[]; params?: any; collectInputFor?: InputDescriptor[]; @@ -36,7 +36,7 @@ export interface ProviderInfo { downloadUrl?: string; } -const completionParamsInputs = Object.values(completionParamsInputsObj); +const completionParamsInputsConfigs = Object.values(completionParamsInputs); const openSourceModels = Object.values(models).filter( ({ isOpenSource }) => isOpenSource, @@ -58,7 +58,7 @@ export const providers: Partial> = { longDescription: "Use gpt-4, gpt-3.5-turbo, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.", icon: "openai.png", - tags: [ModelProviderTagVals.RequiresApiKey], + tags: [ModelProviderTags.RequiresApiKey], packages: [ models.gpt4o, models.gpt4turbo, @@ -79,7 +79,7 @@ export const providers: Partial> = { placeholder: "Enter your OpenAI API key", required: true, }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, ], apiKeyUrl: "https://platform.openai.com/account/api-keys", }, @@ -90,7 +90,7 @@ export const providers: Partial> = { description: "Anthropic builds state-of-the-art models with large context length and high recall", icon: "anthropic.png", - tags: [ModelProviderTagVals.RequiresApiKey], + tags: [ModelProviderTags.RequiresApiKey], longDescription: "To get started with Anthropic models, you first need to sign up for the open beta [here](https://claude.ai/login) to obtain an API key.", collectInputFor: [ @@ -101,9 +101,9 @@ export const providers: Partial> = { placeholder: "Enter your Anthropic API key", required: true, }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, { - ...completionParamsInputsObj.contextLength, + ...completionParamsInputs.contextLength, defaultValue: 100000, }, ], @@ -115,13 +115,15 @@ export const providers: Partial> = { provider: "azure", description: "Azure OpenAI Service offers industry-leading coding and language AI models that you can fine-tune to your specific needs for a variety of use cases.", - longDescription: - "[Visit our documentation](https://docs.continue.dev/reference/Model%20Providers/azure) for information on obtaining an API key.", + longDescription: `[Visit our documentation](https://docs.continue.dev/reference/Model%20Providers/azure) for information on obtaining an API key. + +Select the \`GPT-4o\` model below to complete your provider configuration, but note that this will not affect the specific model you need to select when creating your Azure deployment.`, icon: "azure.png", - tags: [ModelProviderTagVals.RequiresApiKey], + tags: [ModelProviderTags.RequiresApiKey], refPage: "azure", - apiKeyUrl: "", // TODO: Find out from Nate - packages: [models.gpt4turbo, models.gpt4o, models.gpt35turbo], + apiKeyUrl: + "https://azure.microsoft.com/en-us/products/ai-services/openai-service", + packages: [models.gpt4o], params: { apiKey: "", engine: "", @@ -152,7 +154,7 @@ export const providers: Partial> = { required: true, }, { ...apiBaseInput, required: true }, - // ...completionParamsInputs, // TODO: Is this valid? + ...completionParamsInputsConfigs, ], }, mistral: { @@ -162,10 +164,7 @@ export const providers: Partial> = { "The Mistral API provides seamless access to their models, including Codestral, Mistral 8x22B, Mistral Large, and more.", icon: "mistral.png", longDescription: `To get access to the Mistral API, obtain your API key from [here](https://console.mistral.ai/codestral) for Codestral or the [Mistral platform](https://docs.mistral.ai/) for all other models.`, - tags: [ - ModelProviderTagVals.RequiresApiKey, - ModelProviderTagVals.OpenSource, - ], + tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], params: { apiKey: "", }, @@ -177,7 +176,7 @@ export const providers: Partial> = { placeholder: "Enter your Mistral API key", required: true, }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, ], packages: [ models.codestral, @@ -197,7 +196,7 @@ export const providers: Partial> = { longDescription: 'To get started with Ollama, follow these steps:\n1. Download from [ollama.ai](https://ollama.ai/) and open the application\n2. Open a terminal and run `ollama run `. Example model names are `codellama:7b-instruct` or `llama2:7b-text`. You can find the full list [here](https://ollama.ai/library).\n3. Make sure that the model name used in step 2 is the same as the one in config.json (e.g. `model="codellama:7b-instruct"`)\n4. Once the model has finished downloading, you can start asking questions through Continue.', icon: "ollama.png", - tags: [ModelProviderTagVals.Local, ModelProviderTagVals.OpenSource], + tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource], packages: [ { ...models.AUTODETECT, @@ -209,7 +208,7 @@ export const providers: Partial> = { ...openSourceModels, ], collectInputFor: [ - ...completionParamsInputs, + ...completionParamsInputsConfigs, { ...apiBaseInput, defaultValue: "http://localhost:11434" }, ], downloadUrl: "https://ollama.ai/", @@ -221,7 +220,7 @@ export const providers: Partial> = { description: "Optimized for enterprise generative AI, search and discovery, and advanced retrieval.", icon: "cohere.png", - tags: [ModelProviderTagVals.RequiresApiKey], + tags: [ModelProviderTags.RequiresApiKey], longDescription: "To use Cohere, visit the [Cohere dashboard](https://dashboard.cohere.com/api-keys) to create an API key.", collectInputFor: [ @@ -232,7 +231,7 @@ export const providers: Partial> = { placeholder: "Enter your Cohere API key", required: true, }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, ], packages: [models.commandR, models.commandRPlus], }, @@ -244,10 +243,7 @@ export const providers: Partial> = { "Groq is the fastest LLM provider by a wide margin, using 'LPUs' to serve open-source models at blazing speed.", longDescription: "To get started with Groq, obtain an API key from their website [here](https://wow.groq.com/).", - tags: [ - ModelProviderTagVals.RequiresApiKey, - ModelProviderTagVals.OpenSource, - ], + tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], collectInputFor: [ { inputType: "text", @@ -281,10 +277,7 @@ export const providers: Partial> = { "Use the TogetherAI API for extremely fast streaming of open-source models", icon: "together.png", longDescription: `Together is a hosted service that provides extremely fast streaming of open-source language models. To get started with Together:\n1. Obtain an API key from [here](https://together.ai)\n2. Paste below\n3. Select a model preset`, - tags: [ - ModelProviderTagVals.RequiresApiKey, - ModelProviderTagVals.OpenSource, - ], + tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], params: { apiKey: "", }, @@ -296,7 +289,7 @@ export const providers: Partial> = { placeholder: "Enter your TogetherAI API key", required: true, }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, ], packages: [ models.llama3Chat, @@ -315,7 +308,7 @@ export const providers: Partial> = { "Try out Google's state-of-the-art Gemini model from their API.", longDescription: `To get started with Google Gemini API, obtain your API key from [here](https://ai.google.dev/tutorials/workspace_auth_quickstart) and paste it below.`, icon: "gemini.png", - tags: [ModelProviderTagVals.RequiresApiKey], + tags: [ModelProviderTags.RequiresApiKey], collectInputFor: [ { inputType: "text", @@ -336,7 +329,7 @@ export const providers: Partial> = { longDescription: "LMStudio provides a professional and well-designed GUI for exploring, configuring, and serving LLMs. It is available on both Mac and Windows. To get started:\n1. Download from [lmstudio.ai](https://lmstudio.ai/) and open the application\n2. Search for and download the desired model from the home screen of LMStudio.\n3. In the left-bar, click the '<->' icon to open the Local Inference Server and press 'Start Server'.\n4. Once your model is loaded and the server has started, you can begin using Continue.", icon: "lmstudio.png", - tags: [ModelProviderTagVals.Local, ModelProviderTagVals.OpenSource], + tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource], params: { apiBase: "http://localhost:1234/v1/", }, @@ -350,7 +343,7 @@ export const providers: Partial> = { }, ...openSourceModels, ], - collectInputFor: [...completionParamsInputs], + collectInputFor: [...completionParamsInputsConfigs], downloadUrl: "https://lmstudio.ai/", }, llamafile: { @@ -360,9 +353,9 @@ export const providers: Partial> = { description: "llamafiles are a self-contained binary to run an open-source LLM", longDescription: `To get started with llamafiles, find and download a binary on their [GitHub repo](https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file#quickstart). Then run it with the following command:\n\n\`\`\`shell\nchmod +x ./llamafile\n./llamafile\n\`\`\``, - tags: [ModelProviderTagVals.Local, ModelProviderTagVals.OpenSource], + tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource], packages: openSourceModels, - collectInputFor: [...completionParamsInputs], + collectInputFor: [...completionParamsInputsConfigs], downloadUrl: "https://github.com/Mozilla-Ocho/llamafile?tab=readme-ov-file#quickstart", }, @@ -383,13 +376,10 @@ export const providers: Partial> = { placeholder: "Enter your Replicate API key", required: true, }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, ], icon: "replicate.png", - tags: [ - ModelProviderTagVals.RequiresApiKey, - ModelProviderTagVals.OpenSource, - ], + tags: [ModelProviderTags.RequiresApiKey, ModelProviderTags.OpenSource], packages: [ models.llama3Chat, models.codeLlamaInstruct, @@ -417,9 +407,9 @@ export const providers: Partial> = { After it's up and running, you can start using Continue.`, icon: "llamacpp.png", - tags: [ModelProviderTagVals.Local, ModelProviderTagVals.OpenSource], + tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource], packages: openSourceModels, - collectInputFor: [...completionParamsInputs], + collectInputFor: [...completionParamsInputsConfigs], downloadUrl: "https://github.com/ggerganov/llama.cpp", }, "openai-aiohttp": { @@ -441,10 +431,10 @@ After it's up and running, you can start using Continue.`, ...apiBaseInput, defaultValue: "http://localhost:8000/v1/", }, - ...completionParamsInputs, + ...completionParamsInputsConfigs, ], icon: "openai.png", - tags: [ModelProviderTagVals.Local, ModelProviderTagVals.OpenSource], + tags: [ModelProviderTags.Local, ModelProviderTags.OpenSource], packages: [ { ...models.AUTODETECT, @@ -464,7 +454,7 @@ After it's up and running, you can start using Continue.`, "New users can try out Continue for free using a proxy server that securely makes calls to OpenAI, Anthropic, or Together using our API key", longDescription: `New users can try out Continue for free using a proxy server that securely makes calls to OpenAI, Anthropic, or Together using our API key. If you are ready to set up a model for long-term use or have used all ${ftl()} free uses, you can enter your API key or use a local model.`, icon: "openai.png", - tags: [ModelProviderTagVals.Free], + tags: [ModelProviderTags.Free], packages: [ models.codellama70bTrial, { ...models.gpt4o, title: "GPT-4o (trial)" }, @@ -481,6 +471,6 @@ After it's up and running, you can start using Continue.`, }, }, ], - collectInputFor: [...completionParamsInputs], + collectInputFor: [...completionParamsInputsConfigs], }, };