openai or azure",
- "enum": [
- "openai",
- "azure"
- ]
- },
- "apiVersion": {
- "title": "Api Version",
- "description": "Azure OpenAI API version (e.g. 2023-07-01-preview)",
- "type": "string"
- },
- "deployment": {
- "title": "Deployment",
- "description": "Azure OpenAI deployment",
- "type": "string"
- },
- "capabilities": {
- "type": "object",
- "description": "We will attempt to automatically detect the capabilities of the model based on its title and provider, but this may not always be accurate. You can override the model's capabilities here.",
- "properties": {
- "uploadImage": {
- "type": "boolean",
- "description": "Indicates whether the model can upload images."
- }
- }
- }
- },
- "required": [
- "title",
- "provider",
- "model"
- ],
- "allOf": [
- {
- "if": {
- "properties": {
- "provider": {
- "type": "str"
- }
- },
- "not": {
- "required": [
- "provider"
- ]
- }
- },
- "then": {
- "properties": {
- "model": {
- "description": "Choose a provider first, then model options will be shown here."
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "openai",
- "anthropic",
- "cohere",
- "gemini",
- "huggingface-inference-api",
- "replicate",
- "together",
- "cloudflare",
- "sambanova",
- "nebius"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "required": [
- "apiKey"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "bedrockimport"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "required": [
- "modelArn"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "huggingface-tgi",
- "huggingface-inference-api"
- ]
- }
- }
- },
- "then": {
- "required": [
- "apiBase"
- ]
- },
- "required": [
- "provider"
- ]
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "openai"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "deployment": {
- "type": "string"
- },
- "apiType": {
- "type": "string"
- },
- "apiVersion": {
- "type": "string"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "cloudflare"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "accountId": {
- "type": "string"
- },
- "aiGatewaySlug": {
- "type": "string"
- },
- "model": {
- "anyOf": [
- {
- "enum": [
- "@cf/meta/llama-3-8b-instruct",
- "@hf/thebloke/deepseek-coder-6.7b-instruct-awq",
- "@cf/deepseek-ai/deepseek-math-7b-instruct",
- "@cf/thebloke/discolm-german-7b-v1-awq",
- "@cf/tiiuae/falcon-7b-instruct",
- "@cf/google/gemma-2b-it-lora",
- "@hf/google/gemma-7b-it",
- "@cf/google/gemma-7b-it-lora",
- "@hf/nousresearch/hermes-2-pro-mistral-7b",
- "@cf/meta/llama-2-7b-chat-fp16",
- "@cf/meta/llama-2-7b-chat-int8",
- "@cf/meta-llama/llama-2-7b-chat-hf-lora",
- "@hf/thebloke/llama-2-13b-chat-awq",
- "@hf/thebloke/llamaguard-7b-awq",
- "@cf/mistral/mistral-7b-instruct-v0.1",
- "@hf/mistral/mistral-7b-instruct-v0.2",
- "@cf/mistral/mistral-7b-instruct-v0.2-lora",
- "@hf/thebloke/neural-chat-7b-v3-1-awq",
- "@cf/openchat/openchat-3.5-0106",
- "@hf/thebloke/openhermes-2.5-mistral-7b-awq",
- "@cf/microsoft/phi-2",
- "@cf/qwen/qwen1.5-0.5b-chat",
- "@cf/qwen/qwen1.5-1.8b-chat",
- "@cf/qwen/qwen1.5-7b-chat-awq",
- "@cf/qwen/qwen1.5-14b-chat-awq",
- "@cf/defog/sqlcoder-7b-2",
- "@hf/nexusflow/starling-lm-7b-beta",
- "@cf/tinyllama/tinyllama-1.1b-chat-v1.0",
- "@hf/thebloke/zephyr-7b-beta-awq",
- "@hf/thebloke/deepseek-coder-6.7b-base-awq"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "openai"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "gpt-3.5-turbo",
- "gpt-3.5-turbo-16k",
- "gpt-4o",
- "gpt-4o-mini",
- "gpt-4",
- "gpt-3.5-turbo-0613",
- "gpt-4-32k",
- "gpt-4-0125-preview",
- "gpt-4-turbo",
- "AUTODETECT"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "replicate"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "llama3-8b",
- "llama3-70b",
- "codellama-7b",
- "codellama-13b",
- "codellama-34b",
- "llama2-7b",
- "llama2-13b"
- ]
- },
- {
- "type": "string"
- }
- ]
- },
- "markdownDescription": "Select a pre-defined option, or find an exact model ID from Replicate [here](https://replicate.com/collections/streaming-language-models).",
- "x-intellij-html-description": "Select a pre-defined option, or find an exact model ID from Replicate here."
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "free-trial"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "enum": [
- "gpt-4o",
- "codestral-latest",
- "llama3.1-70b",
- "llama3.1-405b",
- "gpt-3.5-turbo",
- "gemini-pro",
- "claude-3-5-sonnet-20240620",
- "claude-3-haiku-20240307",
- "AUTODETECT"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "openai"
- ]
- },
- "apiType": {
- "not": {
- "const": "azure"
- }
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "gpt-3.5-turbo",
- "gpt-3.5-turbo-16k",
- "gpt-4o",
- "gpt-4o-mini",
- "gpt-4",
- "gpt-3.5-turbo-0613",
- "gpt-4-32k",
- "gpt-4-turbo",
- "gpt-4-vision-preview",
- "mistral-7b",
- "mistral-8x7b",
- "llama2-7b",
- "llama2-13b",
- "codellama-7b",
- "codellama-13b",
- "codellama-34b",
- "codellama-70b",
- "llama3-8b",
- "llama3-70b",
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "phind-codellama-34b",
- "wizardcoder-7b",
- "wizardcoder-13b",
- "wizardcoder-34b",
- "zephyr-7b",
- "codeup-13b",
- "deepseek-7b",
- "deepseek-33b",
- "neural-chat-7b",
- "deepseek-1b",
- "stable-code-3b",
- "starcoder-1b",
- "starcoder-3b",
- "starcoder2-3b",
- "mistral-tiny",
- "mistral-small",
- "mistral-medium",
- "AUTODETECT"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "anthropic"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "cacheBehavior": {
- "title": "Caching Behavior",
- "description": "Options for the prompt caching",
- "properties": {
- "cacheSystemMessage": {
- "type": "boolean"
- },
- "cacheConversation": {
- "type": "boolean"
- }
- }
- },
- "model": {
- "anyOf": [
- {
- "enum": [
- "claude-2",
- "claude-instant-1",
- "claude-3-5-sonnet-20240620",
- "claude-3-opus-20240229",
- "claude-3-sonnet-20240229",
- "claude-3-haiku-20240307",
- "claude-2.1"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "cohere"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "enum": [
- "command-r",
- "command-r-plus"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "bedrock"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "claude-3-sonnet-20240229",
- "claude-3-haiku-20240307",
- "claude-2"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "sagemaker"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "description": "SageMaker endpoint name"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "gemini"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "cacheBehavior": {
- "title": "Caching Behavior",
- "description": "Options for the prompt caching",
- "properties": {
- "cacheSystemMessage": {
- "type": "boolean"
- }
- }
- },
- "model": {
- "enum": [
- "chat-bison-001",
- "gemini-pro",
- "gemini-1.5-pro-latest",
- "gemini-1.5-pro",
- "gemini-1.5-flash-latest",
- "gemini-1.5-flash"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "together"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "mistral-7b",
- "mistral-8x7b",
- "llama2-7b",
- "llama2-13b",
- "llama3-8b",
- "llama3-70b",
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "codellama-7b",
- "codellama-13b",
- "codellama-34b",
- "codellama-70b",
- "phind-codellama-34b"
- ]
- },
- {
- "type": "string"
- }
- ],
- "markdownDescription": "Select a pre-defined option, or find an exact model string from Together AI [here](https://docs.together.ai/docs/inference-models).",
- "x-intellij-html-description": "Select a pre-defined option, or find an exact model string from Together AI here."
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "deepinfra"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "markdownDescription": "Find the model name you want to use from DeepInfra [here](https://deepinfra.com/models?type=text-generation).",
- "x-intellij-html-description": "Find the model name you want to use from DeepInfra here."
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "huggingface-tgi",
- "huggingface-inference-api",
- "llama.cpp",
- "text-gen-webui",
- "llamafile"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "mistral-7b",
- "mistral-8x7b",
- "llama2-7b",
- "llama2-13b",
- "codellama-7b",
- "codellama-13b",
- "codellama-34b",
- "codellama-70b",
- "llama3-8b",
- "llama3-70b",
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "phind-codellama-34b",
- "wizardcoder-7b",
- "wizardcoder-13b",
- "wizardcoder-34b",
- "zephyr-7b",
- "codeup-13b",
- "deepseek-7b",
- "deepseek-33b",
- "neural-chat-7b",
- "deepseek-1b",
- "stable-code-3b",
- "starcoder-1b",
- "starcoder-3b",
- "starcoder2-3b"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "ollama"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "mistral-7b",
- "llama2-7b",
- "llama2-13b",
- "codellama-7b",
- "codellama-13b",
- "codellama-34b",
- "codellama-70b",
- "llama3-8b",
- "llama3-70b",
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "phi-2",
- "phind-codellama-34b",
- "wizardcoder-7b",
- "wizardcoder-13b",
- "wizardcoder-34b",
- "zephyr-7b",
- "codeup-13b",
- "deepseek-7b",
- "deepseek-33b",
- "neural-chat-7b",
- "deepseek-1b",
- "stable-code-3b",
- "starcoder-1b",
- "starcoder-3b",
- "starcoder2-3b",
- "AUTODETECT"
- ]
- },
- {
- "type": "string"
- }
- ],
- "markdownDescription": "Select a pre-defined option, or find the exact model tag for an Ollama model [here](https://ollama.ai/library).",
- "x-intellij-html-description": "Select a pre-defined option, or find the exact model tag for an Ollama model here."
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "mistral"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "enum": [
- "codestral-latest",
- "codestral-mamba-latest",
- "open-mistral-7b",
- "open-mixtral-8x7b",
- "open-mixtral-8x22b",
- "mistral-small-latest",
- "mistral-large-latest"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "vertexai"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "required": [
- "projectId",
- "region"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "deepseek"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "cacheBehavior": {
- "title": "Caching Behavior",
- "description": "Options for the prompt caching",
- "properties": {
- "cacheSystemMessage": {
- "type": "boolean"
- },
- "cacheConversation": {
- "type": "boolean"
- }
- }
- },
- "model": {
- "enum": [
- "deepseek-chat",
- "deepseek-coder"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "groq"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "enum": [
- "llama2-70b",
- "mistral-8x7b",
- "gemma",
- "gemma2",
- "llama3-8b",
- "llama3-70b",
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "AUTODETECT"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "fireworks"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "enum": [
- "starcoder-7b"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "apiType": {
- "const": "azure"
- }
- },
- "required": [
- "apiType"
- ]
- },
- "then": {
- "required": [
- "deployment",
- "apiBase"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "openai"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "useLegacyCompletionsEndpoint": {
- "type": "boolean"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "const": "llamafile"
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "llamafileCommand": {
- "type": "string"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "cerebras"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "enum": [
- "llama3.1-8b",
- "llama3.1-70b"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "text-gen-webui"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "streamingUrl": {
- "type": "string"
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "flowise"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "timeout": {
- "title": "Timeout",
- "description": "Set the timeout for each request to Flowise. If you are running a local version of Flowise it might takes a while to respond, you might want to set this to avoid timeouts.",
- "default": 5000,
- "type": "integer"
- },
- "additionalHeaders": {
- "description": "A list of additional headers",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "key": {
- "title": "Key",
- "description": "Header key",
- "type": "string"
- },
- "value": {
- "title": "Value",
- "description": "Header value",
- "type": "string"
- }
- },
- "required": [
- "key",
- "value"
- ]
- }
- },
- "additionalFlowiseConfiguration": {
- "description": "A list of additional properties to be sent along `overrideConfig`",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "key": {
- "title": "Key",
- "description": "Configuration Property key",
- "type": "string"
- },
- "value": {
- "title": "Value",
- "description": "Configuration Property value"
- }
- },
- "required": [
- "key",
- "value"
- ]
- }
- },
- "model": {
- "anyOf": [
- {
- "enum": [
- "gpt-3.5-turbo",
- "gpt-3.5-turbo-16k",
- "gpt-4o",
- "gpt-4o-mini",
- "gpt-4",
- "gpt-3.5-turbo-0613",
- "gpt-4-32k",
- "gpt-4-turbo",
- "gpt-4-vision-preview",
- "mistral-7b",
- "mistral-8x7b",
- "llama2-7b",
- "llama2-13b",
- "codellama-7b",
- "codellama-13b",
- "codellama-34b",
- "codellama-70b",
- "llama3-8b",
- "llama3-70b",
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b",
- "phind-codellama-34b",
- "wizardcoder-7b",
- "wizardcoder-13b",
- "wizardcoder-34b",
- "zephyr-7b",
- "codeup-13b",
- "deepseek-7b",
- "deepseek-33b",
- "claude-2",
- "claude-instant-1",
- "claude-3-5-sonnet-20240620",
- "claude-3-opus-20240229",
- "claude-3-sonnet-20240229",
- "claude-3-haiku-20240307",
- "claude-2.1",
- "command-r",
- "command-r-plus",
- "chat-bison-001",
- "gemini-pro",
- "gemini-1.5-pro-latest",
- "gemini-1.5-pro",
- "gemini-1.5-flash-latest",
- "gemini-1.5-flash",
- "mistral-tiny",
- "mistral-small",
- "mistral-medium",
- "deepseek-1b",
- "stable-code-3b",
- "starcoder-1b",
- "starcoder-3b",
- "starcoder2-3b"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "watsonx"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "apiBase": {
- "type": "string"
- },
- "apiKey": {
- "type": "string"
- },
- "apiVersion": {
- "type": "string"
- },
- "projectId": {
- "type": "string"
- },
- "deploymentId": {
- "type": "string"
- },
- "model": {
- "enum": [
- "ibm/granite-13b-chat-v2",
- "ibm/granite-3b-code-instruct",
- "ibm/granite-8b-code-instruct",
- "ibm/granite-20b-code-instruct",
- "ibm/granite-3b-code-instruct",
- "ibm/granite-8b-code-instruct",
- "ibm/granite-34b-code-instruct",
- "ibm/granite-3-8b-instruct",
- "ibm/granite-3-2b-instruct",
- "mistralai/mistral-large",
- "meta-llama/llama-3-8b-instruct",
- "meta-llama/llama-3-70b-instruct"
- ]
- }
- },
- "required": [
- "apiBase",
- "apiKey",
- "apiVersion"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "sambanova"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "llama3.1-8b",
- "llama3.1-70b",
- "llama3.1-405b"
- ]
- },
- {
- "type": "string"
- }
- ],
- "description": "Select a pre-defined option."
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "ask-sage"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "anyOf": [
- {
- "enum": [
- "gpt-4o",
- "gpt-4o-mini",
- "gpt-4gov",
- "gpt-4ogov",
- "claude-3.5-sonnet",
- "claude-3-opus",
- "mistral-large",
- "llama-3-chat",
- "gemini-pro",
- "AUTODETECT"
- ]
- },
- {
- "type": "string"
- }
- ]
- }
- }
- }
- }
- ]
- },
- "ModelRoles": {
- "title": "ModelRoles",
- "type": "object",
- "properties": {
- "default": {
- "title": "Default",
- "description": "The default model. If other model roles are not set, they will fall back to default.",
- "type": "string"
- },
- "chat": {
- "title": "Chat",
- "description": "The model to use for chat. If not set, will fall back to default.",
- "type": "string"
- },
- "edit": {
- "title": "Edit",
- "description": "The model to use for editing. If not set, will fall back to default.",
- "type": "string"
- },
- "summarize": {
- "title": "Summarize",
- "description": "The model to use for summarization. If not set, will fall back to default.",
- "type": "string"
- }
- },
- "required": [
- "default"
- ]
- },
- "SlashCommand": {
- "title": "SlashCommand",
- "type": "object",
- "properties": {
- "name": {
- "title": "Name",
- "anyOf": [
- {
- "enum": [
- "issue",
- "share",
- "cmd",
- "edit",
- "comment",
- "http",
- "commit",
- "review"
- ],
- "type": "string",
- "markdownEnumDescriptions": [
- "Generate a link to a drafted GitHub issue",
- "Export the current chat session to markdown",
- "Generate a terminal command and paste it into the terminal",
- "Edit the highlighted code with given instructions",
- "Add comments to the highlighted code",
- "Write a custom slash command at your own HTTP endpoint. Set 'url' in the params object for the endpoint you have setup.",
- "Generate a commit message for the current changes",
- "Review code and give feedback"
- ]
- },
- {
- "type": "string"
- }
- ]
- },
- "description": {
- "title": "Description",
- "type": "string"
- },
- "step": {
- "title": "Step",
- "description": "This property is no longer required and has no effect. To use a built-in slash command, instead set the 'name' property to one of the pre-configured options.",
- "type": "string"
- },
- "params": {
- "title": "Params",
- "default": {},
- "type": "object"
- }
- },
- "allOf": [
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "issue"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "repositoryUrl": {
- "type": "string",
- "description": "Enter the URL of the GitHub repository for which you want to generate the issue."
- }
- },
- "required": [
- "repositoryUrl"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "edit"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "recap": {
- "type": "boolean",
- "markdownDescription": "If recap is set to `true`, Continue will generate a summary of the changes after making the edit.",
- "x-intellij-html-description": "If recap is set to true, Continue will generate a summary of the changes after making the edit."
- },
- "tokenLimit": {
- "type": "integer",
- "description": "By default, Continue doesn't let you edit extremely large ranges (beyond 1,200 tokens), because the LLM is unlikely to succeed. But if you would like to override this limit with the understanding of possible failure you may do so here."
- }
- }
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "share"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "outputDir": {
- "type": "string",
- "markdownDescription": "If outputDir is set to `.` or begins with `./` or `.\\`, file will be saved to the current workspace or a subdirectory thereof, respectively. `~` can similarly be used to specify the user's home directory.",
- "x-intellij-html-description": "If outputDir is set to . or begins with ./ or .\\, file will be saved to the current workspace or a subdirectory thereof, respectively. ~ can similarly be used to specify the user's home directory."
- }
- }
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "commit"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "includeUnstaged": {
- "type": "boolean",
- "markdownDescription": "If set to `true`, then unstaged changes are also included in the prompt, otherwise only staged changes are included. Default is `false`.",
- "x-intellij-html-description": "If set to true, then unstaged changes are also included in the prompt, otherwise only staged changes are included. Default is false."
- }
- }
- }
- }
- }
- }
- ],
- "required": [
- "name",
- "description"
- ]
- },
- "CustomCommand": {
- "title": "CustomCommand",
- "type": "object",
- "properties": {
- "name": {
- "title": "Name",
- "type": "string"
- },
- "prompt": {
- "title": "Prompt",
- "type": "string"
- },
- "description": {
- "title": "Description",
- "type": "string"
- }
- },
- "required": [
- "name",
- "prompt",
- "description"
- ]
- },
- "ContextProviderWithParams": {
- "title": "ContextProviderWithParams",
- "type": "object",
- "properties": {
- "name": {
- "title": "Name",
- "anyOf": [
- {
- "enum": [
- "diff",
- "terminal",
- "debugger",
- "open",
- "google",
- "search",
- "http",
- "codebase",
- "problems",
- "folder",
- "issue",
- "docs",
- "tree",
- "highlights",
- "outline",
- "postgres",
- "code",
- "currentFile",
- "url",
- "database",
- "os",
- "repo-map",
- "greptile",
- "web"
- ],
- "markdownEnumDescriptions": [
- "Reference the contents of the current changes as given by `git diff`",
- "Reference the last terminal command",
- "Reference the contents of the local variables in the debugger with top n level (defaulting to 3) of call stack for that thread",
- "Reference the contents of all open or pinned files.",
- "Enter a search phrase and include the Google search results as context",
- "Reference the results of a ripgrep search in your codebase",
- "Write a custom context provider at your own HTTP endpoint. Set 'url' in the params object for the endpoint you have setup.",
- "Use embeddings to automatically find relevant files from throughout the codebase",
- "Reference all linting errors and warnings in the currently open file",
- "Include important files from a folder in the prompt, as determined by similarity search",
- "Reference GitHub issues from a repository",
- "Retrieve important pages from a documentation website, as determined by similarity search",
- "Display a file tree of the current workspace",
- "Include important highlighted sections from your code",
- "Include a repo map showing important code objects",
- "References Postgres table schema and sample rows",
- "Reference specific functions and classes from throughout your codebase",
- "Reference the contents of the currently active file",
- "Reference the contents of a page at a URL",
- "Reference table schemas",
- "Operating system and CPU Information",
- "Map of files in the repository with important code highlights",
- "Query your greptile index of the current repo",
- "Search the web for sources related to your question"
- ],
- "type": "string"
- },
- {
- "type": "string"
- }
- ]
- },
- "params": {
- "title": "Params",
- "default": {},
- "type": "object"
- }
- },
- "allOf": [
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "discord"
- ]
- }
- }
- },
- "then": {
- "allOf": [
- {
- "properties": {
- "params": {
- "properties": {
- "discordKey": {
- "type": "string",
- "description": "Your Discord bot token to access the Discord API. Required to fetch messages from servers."
- },
- "guildId": {
- "type": "string",
- "description": "The ID of the guild (server) from which to fetch channels and messages."
- },
- "channels": {
- "type": "array",
- "description": "A list of channel objects to search for messages",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string",
- "description": "The unique ID of the channel"
- },
- "name": {
- "type": "string",
- "description": "The name of the channel"
- }
- },
- "required": [
- "id"
- ]
- }
- }
- },
- "required": [
- "discordKey"
- ]
- }
- }
- },
- {
- "oneOf": [
- {
- "properties": {
- "params": {
- "required": [
- "guildId"
- ]
- }
- }
- },
- {
- "properties": {
- "params": {
- "required": [
- "channels"
- ]
- }
- }
- }
- ]
- }
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "google"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "serperApiKey": {
- "type": "string",
- "description": "Your API key for https://serper.dev in order to get Google search results"
- }
- },
- "required": [
- "serperApiKey"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "web"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "n": {
- "title": "N",
- "description": "The number of results to return",
- "default": 6,
- "type": "integer"
- }
- }
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "open"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "onlyPinned": {
- "type": "boolean",
- "description": "If set to true, only 'pinned' files will be included.",
- "default": false
- }
- }
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "issue"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "githubToken": {
- "type": "string",
- "description": "Your GitHub token to access the GitHub API. Required for private repositories."
- },
- "repos": {
- "type": "array",
- "description": "A list of repositories to search for issues",
- "items": {
- "type": "object",
- "properties": {
- "owner": {
- "type": "string",
- "description": "The owner of the repository"
- },
- "repo": {
- "type": "string",
- "description": "The name of the repository"
- },
- "type": {
- "type": "string",
- "description": "The type of issues to search for",
- "enum": [
- "open",
- "closed",
- "all"
- ]
- }
- },
- "required": [
- "owner",
- "repo"
- ]
- }
- }
- },
- "required": [
- "repos"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "database"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "connections": {
- "type": "array",
- "description": "A list of database connections",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "description": "A unique name for this database connection"
- },
- "connection_type": {
- "type": "string",
- "description": "The type of database (e.g., 'postgres', 'mysql')",
- "enum": [
- "postgres",
- "mysql",
- "sqlite"
- ]
- },
- "connection": {
- "type": "object",
- "properties": {
- "user": {
- "type": "string",
- "description": "The database user name"
- },
- "host": {
- "type": "string",
- "description": "The host address of the database server"
- },
- "database": {
- "type": "string",
- "description": "The name of the database to connect to"
- },
- "password": {
- "type": "string",
- "description": "The password for the database user"
- },
- "port": {
- "type": "integer",
- "description": "The port number to connect to at the host"
- },
- "filename": {
- "type": "string",
- "description": "File location for simple file DB's"
- }
- },
- "required": []
- }
- },
- "required": [
- "name",
- "connection_type",
- "connection"
- ]
- }
- }
- },
- "required": [
- "connections"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "gitlab-mr"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "domain": {
- "type": "string",
- "description": "Your GitLab domain, will default to gitlab.com"
- },
- "token": {
- "type": "string",
- "description": "Your private access token."
- },
- "filterComments": {
- "type": "boolean",
- "description": "If you have code selected, filters out comments that aren't related to the selection."
- }
- },
- "required": [
- "token"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "jira"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "domain": {
- "type": "string",
- "description": "Your Jira domain, for example company.atlassian.net."
- },
- "email": {
- "type": "string",
- "description": "The email that you log into Jira with"
- },
- "token": {
- "type": "string",
- "description": "Your atlassian API token from https://id.atlassian.com/manage-profile/security/api-tokens"
- },
- "issueQuery": {
- "type": "string",
- "description": "Customize the query used to find Jira issues"
- },
- "apiVersion": {
- "type": "integer",
- "markdownDescription": "This context provider supports both Jira API version 2 and 3. It will use version 3 by default since that's what the cloud version uses, but if you have the datacenter version of Jira, you'll need to set the API Version to 2 using the `apiVersion` property.",
- "x-intellij-html-description": "This context provider supports both Jira API version 2 and 3. It will use version 3 by default since that's what the cloud version uses, but if you have the datacenter version of Jira, you'll need to set the API Version to 2 using the apiVersion property."
- },
- "requestOptions": {
- "title": "Request Options",
- "description": "Options for the HTTPS request to Jira.",
- "default": {
- "timeout": 7200,
- "verifySsl": null,
- "caBundlePath": null,
- "proxy": null,
- "headers": null,
- "extraBodyProperties": null
- },
- "allOf": [
- {
- "$ref": "#/definitions/RequestOptions"
- }
- ]
- }
- },
- "required": [
- "domain",
- "token"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "http"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "url": {
- "type": "string",
- "description": "The HTTP endpoint of your context provider server."
- },
- "options": {
- "title": "Custom Options",
- "description": "Additional options to pass to your custom HTTP server.",
- "type": "object"
- }
- },
- "required": [
- "url"
- ]
- }
- },
- "required": [
- "params"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "codebase",
- "folder"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "nRetrieve": {
- "title": "N Retrieve",
- "description": "Number of results to initially retrieve from vector database",
- "default": 50,
- "type": "integer"
- },
- "nFinal": {
- "title": "N Final",
- "description": "Final number of results to use after re-ranking",
- "default": 10,
- "type": "integer"
- },
- "useReranking": {
- "title": "Use Reranking",
- "description": "Whether to use re-ranking, which will allow initial selection of nRetrieve results, then will use an LLM to select the top nFinal results. Disabling re-ranking will give faster, but less accurate, results.",
- "default": true,
- "type": "boolean"
- }
- }
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "postgres"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "host": {
- "title": "Host",
- "description": "Database host",
- "default": "localhost",
- "type": "string"
- },
- "port": {
- "title": "Port",
- "description": "Database port",
- "default": 5432,
- "type": "integer"
- },
- "user": {
- "title": "User",
- "description": "Database user",
- "default": "postgres",
- "type": "string"
- },
- "password": {
- "title": "Password",
- "description": "Database password",
- "type": "string"
- },
- "database": {
- "title": "Database",
- "description": "Database name",
- "default": "postgres",
- "type": "string"
- },
- "schema": {
- "title": "Schema",
- "description": "Database schema",
- "default": "public",
- "type": "string"
- },
- "sampleRows": {
- "title": "Sample Rows",
- "description": "Number of rows to sample from the database",
- "default": 3,
- "type": "integer"
- }
- }
- }
- },
- "required": [
- "host",
- "port",
- "user",
- "password",
- "database"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "greptile"
- ]
- }
- }
- },
- "then": {
- "properties": {
- "params": {
- "properties": {
- "GithubToken": {
- "title": "GithubToken",
- "description": "Your github access token",
- "default": "",
- "type": "string"
- },
- "GreptileToken": {
- "title": "GreptileToken",
- "description": "Your greptile access token",
- "default": "",
- "type": "string"
- }
- }
- }
- },
- "required": [
- "GreptileToken",
- "GithubToken"
- ]
- }
- }
- ],
- "required": [
- "name"
- ]
- },
- "SerializedContinueConfig": {
- "title": "config.json",
- "type": "object",
- "properties": {
- "docs": {
- "title": "Docs",
- "description": "A list of documentation sites to be indexed",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the documentation site"
- },
- "startUrl": {
- "type": "string",
- "description": "The starting URL for indexing the documentation"
- },
- "rootUrl": {
- "type": "string",
- "description": "The root URL of the documentation site"
- },
- "maxDepth": {
- "type": "integer",
- "description": "The maximum depth to crawl the documentation site"
- },
- "favicon": {
- "type": "string",
- "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"
- ]
- }
- },
- "allowAnonymousTelemetry": {
- "title": "Allow Anonymous Telemetry",
- "markdownDescription": "If this field is set to `true`, we will collect anonymous telemetry as described in the documentation page on telemetry. If set to `false`, we will not collect any data. Learn more in [the docs](https://docs.continue.dev/telemetry).",
- "x-intellij-html-description": "If this field is set to `true`, we will collect anonymous telemetry as described in the documentation page on telemetry. If set to `false`, we will not collect any data. Learn more in the docs.",
- "default": true,
- "type": "boolean"
- },
- "models": {
- "title": "Models",
- "markdownDescription": "Learn about setting up models in [the documentation](https://docs.continue.dev/model-setup/overview).",
- "x-intellij-html-description": "Learn about setting up models in the documentation.",
- "default": [
- {
- "title": "GPT-4 (trial)",
- "provider": "free-trial",
- "model": "gpt-4",
- "apiKey": ""
- }
- ],
- "type": "array",
- "items": {
- "$ref": "#/definitions/ModelDescription"
- }
- },
- "systemMessage": {
- "title": "System Message",
- "description": "A system message that will always be followed by the LLM",
- "type": "string"
- },
- "completionOptions": {
- "title": "Completion Options",
- "description": "Default options for completion. These will be overriden by any options set for a specific model.",
- "default": {
- "temperature": null,
- "topP": null,
- "topK": null,
- "presencePenalty": null,
- "frequencyPenalty": null,
- "stop": null,
- "maxTokens": 600
- },
- "allOf": [
- {
- "$ref": "#/definitions/BaseCompletionOptions"
- }
- ]
- },
- "requestOptions": {
- "title": "Request Options",
- "description": "Default request options for all fetch requests from models and context providers. These will be overriden by any model-specific request options.",
- "allOf": [
- {
- "$ref": "#/definitions/RequestOptions"
- }
- ]
- },
- "slashCommands": {
- "title": "Slash Commands",
- "markdownDescription": "An array of slash commands that let you take custom actions from the sidebar. Learn more in the [documentation](https://docs.continue.dev/customization/slash-commands).",
- "x-intellij-html-description": "An array of slash commands that let you take custom actions from the sidebar. Learn more in the documentation.",
- "default": [],
- "type": "array",
- "items": {
- "$ref": "#/definitions/SlashCommand"
- }
- },
- "customCommands": {
- "title": "Custom Commands",
- "markdownDescription": "An array of custom commands that allow you to reuse prompts. Each has name, description, and prompt properties. When you enter `// in the text input, it will act as a shortcut to the prompt. Learn more in the documentation.",
- "default": [
- {
- "name": "test",
- "prompt": "{{{ input }}}\n\nWrite a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.",
- "description": "This is an example custom command. Open config.json to edit it and create more"
- }
- ],
- "type": "array",
- "items": {
- "$ref": "#/definitions/CustomCommand"
- }
- },
- "contextProviders": {
- "title": "Context Providers",
- "markdownDescription": "A list of ContextProvider objects that can be used to provide context to the LLM by typing '@'. Read more about ContextProviders in [the documentation](https://docs.continue.dev/customization/context-providers).",
- "x-intellij-html-description": "A list of ContextProvider objects that can be used to provide context to the LLM by typing '@'. Read more about ContextProviders in the documentation.",
- "default": [],
- "type": "array",
- "items": {
- "$ref": "#/definitions/ContextProviderWithParams"
- }
- },
- "userToken": {
- "title": "User Token",
- "description": "An optional token to identify the user.",
- "type": "string"
- },
- "disableIndexing": {
- "title": "Disable Indexing",
- "markdownDescription": "If set to `true`, Continue will not index the codebase. This is mainly used for debugging purposes.",
- "x-intellij-html-description": "If set to true, Continue will not index the codebase. This is mainly used for debugging purposes.",
- "default": false,
- "type": "boolean"
- },
- "disableSessionTitles": {
- "title": "Disable Session Titles",
- "markdownDescription": "If set to `true`, Continue will not make extra requests to the LLM to generate a summary title of each session.",
- "x-intellij-html-description": "If set to true, Continue will not make extra requests to the LLM to generate a summary title of each session.",
- "default": false,
- "type": "boolean"
- },
- "embeddingsProvider": {
- "title": "Embeddings Provider",
- "markdownDescription": "The method that will be used to generate codebase embeddings. The default is `transformers.js`, which will run locally in the browser. Learn about the other options [here](https://docs.continue.dev/features/codebase-embeddings#embeddings-providers).",
- "x-intellij-html-description": "The method that will be used to generate codebase embeddings. The default is transformers.js, which will run locally in the browser. Learn about the other options here.transformers.js currently cannot be used in JetBrains.",
- "type": "object",
- "properties": {
- "provider": {
- "enum": [
- "huggingface-tei",
- "transformers.js",
- "ollama",
- "openai",
- "cohere",
- "free-trial",
- "gemini",
- "voyage",
- "nvidia",
- "bedrock",
- "sagemaker",
- "nebius",
- "vertexai"
- ]
- },
- "model": {
- "type": "string"
- },
- "apiKey": {
- "type": "string"
- },
- "apiBase": {
- "type": "string"
- },
- "requestOptions": {
- "title": "Request Options",
- "description": "Request options to be used in any fetch requests made by the embeddings provider",
- "$ref": "#/definitions/RequestOptions"
- },
- "maxChunkSize": {
- "title": "Maximum Chunk Size",
- "description": "The maximum number of tokens that each chunk of a document is allowed to have",
- "type": "integer",
- "minimum": 128,
- "exclusiveMaximum": 2147483647
- },
- "maxBatchSize": {
- "title": "Maximum Batch Size",
- "description": "The maximum number of chunks that can be sent to the embeddings provider in a single request",
- "type": "integer",
- "minimum": 1,
- "exclusiveMaximum": 2147483647
- },
- "region": {
- "title": "Region",
- "description": "The region where the model is hosted",
- "$ref": "#/definitions/ModelDescription/properties/region"
- },
- "profile": {
- "title": "Profile",
- "description": "The AWS security profile to use",
- "type": "string"
- }
- },
- "required": [
- "provider"
- ],
- "allOf": [
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "cohere",
- "voyage",
- "nvidia",
- "gemini"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "required": [
- "apiKey"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "sagemaker"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "model": {
- "description": "SageMaker endpoint name"
- }
- },
- "required": [
- "model"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "vertexai"
- ]
- }
- },
- "required": [
- "provider"
- ]
- },
- "then": {
- "properties": {
- "projectId": {
- "description": "The name of your VertexAI project"
- },
- "region": {
- "description": "The region your VertexAI model is hosted in - typically central1",
- "default": "central1"
- },
- "model": {
- "default": "text-embedding-004"
- }
- },
- "required": [
- "projectId",
- "model",
- "region"
- ]
- }
- }
- ]
- },
- "reranker": {
- "title": "Reranker",
- "description": "The reranker is responsible for selecting the final results when retrieving snippets from your codebase.",
- "type": "object",
- "properties": {
- "name": {
- "enum": [
- "cohere",
- "voyage",
- "llm",
- "free-trial",
- "huggingface-tei"
- ]
- },
- "params": {
- "type": "object"
- }
- },
- "required": [
- "name"
- ],
- "allOf": [
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "cohere"
- ]
- }
- },
- "required": [
- "name"
- ]
- },
- "then": {
- "properties": {
- "params": {
- "type": "object",
- "properties": {
- "model": {
- "enum": [
- "rerank-english-v3.0",
- "rerank-multilingual-v3.0",
- "rerank-english-v2.0",
- "rerank-multilingual-v2.0"
- ]
- },
- "apiBase": {
- "type": "string"
- },
- "apiKey": {
- "type": "string"
- }
- },
- "required": [
- "apiKey"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "llm"
- ]
- }
- },
- "required": [
- "name"
- ]
- },
- "then": {
- "properties": {
- "params": {
- "type": "object",
- "properties": {
- "modelTitle": {
- "type": "string"
- }
- },
- "required": [
- "modelTitle"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "voyage"
- ]
- }
- },
- "required": [
- "name"
- ]
- },
- "then": {
- "properties": {
- "params": {
- "type": "object",
- "properties": {
- "apiKey": {
- "type": "string"
- },
- "model": {
- "enum": [
- "rerank-lite-1",
- "rerank-1",
- "rerank-2",
- "rerank-2-lite"
- ]
- }
- },
- "required": [
- "apiKey"
- ]
- }
- }
- }
- },
- {
- "if": {
- "properties": {
- "name": {
- "enum": [
- "huggingface-tei"
- ]
- }
- },
- "required": [
- "name"
- ]
- },
- "then": {
- "properties": {
- "params": {
- "type": "object",
- "properties": {
- "apiBase": {
- "type": "string",
- "default": "http://localhost:8080"
- },
- "truncate": {
- "type": "boolean",
- "description": "Whether to truncate long sequences to the maximum allowed context length.",
- "default": false
- },
- "truncation_direction": {
- "enum": [
- "Right",
- "Left"
- ],
- "description": "Whether to truncate sequences from the left or right.",
- "default": "Right"
- }
- },
- "required": [
- "apiBase"
- ]
- }
- },
- "if": {
- "properties": {
- "truncate": {
- "const": true
- }
- }
- },
- "then": {
- "required": [
- "truncation_direction"
- ]
- }
- }
- }
- ]
- },
- "tabAutocompleteModel": {
- "title": "Tab Autocomplete Model",
- "markdownDescription": "The model used for tab autocompletion. If undefined, Continue will default to using starcoder2:3b on a local Ollama instance.\n\n*IMPORTANT*:\n\nIf you use a custom model, ensure that it is one trained for fill-in-the-middle completions. An instruct model is typically not well-suited to autocomplete and you may receive unsatisfactory completions.",
- "x-intellij-html-description": "The model used for tab autocompletion. If undefined, Continue will default to using starcoder2:3b on a local Ollama instance.true, a scrollbar will be displayed in the chat window to navigate through messages.",
- "default": false,
- "type": "boolean"
- }
- }
- },
- "analytics": {
- "type": "object",
- "properties": {
- "provider": {
- "type": "string",
- "enum": [
- "posthog",
- "logstash"
- ],
- "description": "The 3rd party analytics provider to use.",
- "default": "posthog",
- "markdownEnumDescriptions": [
- "### Posthog\nTo use Posthog, set up an account, obtain your client key, and enter it in the client key field."
- ]
- },
- "url": {
- "type": "string",
- "description": "The URL to which analytics will be sent"
- },
- "clientKey": {
- "type": "string",
- "description": "The client key to use for analytics"
- }
- },
- "required": [
- "provider"
- ],
- "allOf": [
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "posthog"
- ]
- }
- }
- },
- "then": {
- "required": [
- "clientKey"
- ]
- }
- },
- {
- "if": {
- "properties": {
- "provider": {
- "enum": [
- "logstash"
- ]
- }
- }
- },
- "then": {
- "required": [
- "url"
- ]
- }
- }
- ]
- },
- "experimental": {
- "type": "object",
- "title": "Experimental",
- "description": "Experimental properties are subject to change.",
- "properties": {
- "defaultContext": {
- "type": "array",
- "items": {
- "allOf": [
- {
- "$ref": "#/definitions/ContextProviderWithParams"
- },
- {
- "properties": {
- "query": {
- "type": "string",
- "description": "Required for certain context providers, like 'url' in order to specify the input, or which of the dropdown items to select."
- }
- }
- }
- ]
- }
- },
- "modelRoles": {
- "type": "object",
- "properties": {
- "inlineEdit": {
- "description": "The 'title' property of the model you wish to use for inline edits",
- "type": "string"
- },
- "applyCodeBlock": {
- "description": "The 'title' property of the model you wish to use for applying code blocks",
- "type": "string"
- },
- "repoMapFileSelection": {
- "description": "The 'title' property of the model you wish to use for repo map file selections",
- "type": "string"
- }
- }
- },
- "readResponseTTS": {
- "type": "boolean",
- "default": true,
- "description": "Automatically read LLM chat responses aloud using system TTS models"
- },
- "promptPath": {
- "type": "string"
- },
- "quickActions": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string",
- "description": "The title of the quick action that will display in the Code Lens."
- },
- "prompt": {
- "type": "string",
- "description": "The prompt that will be sent to the model when the quick action is invoked, with the function or class body concatenated."
- },
- "sendToChat": {
- "type": "boolean",
- "description": "If true, the result of the quick action will be sent to the chat panel. If false, the streamed result will be inserted into the document.",
- "default": false
- }
- },
- "required": [
- "prompt",
- "title"
- ]
- },
- "description": "Quick actions are a way to add custom commands to the Code Lens of function and class declarations."
- },
- "contextMenuPrompts": {
- "type": "object",
- "properties": {
- "comment": {
- "type": "string",
- "default": "Write comments for this code. Do not change anything about the code itself."
- },
- "docstring": {
- "type": "string",
- "default": "Write a docstring for this code. Do not change anything about the code itself."
- },
- "fix": {
- "type": "string",
- "default": "Fix this code"
- },
- "optimize": {
- "type": "string",
- "default": "Optimize this code"
- },
- "fixGrammar": {
- "type": "string",
- "default": "If there are any grammar or spelling mistakes in this writing, fix them. Do not make other large changes to the writing."
- }
- }
- }
- }
- },
- "mergeBehavior": {
- "type": "string",
- "enum": [
- "merge",
- "overwrite"
- ],
- "default": "merge",
- "title": "Merge behavior",
- "markdownDescription": "If set to 'merge', .continuerc.json will be applied on top of config.json (arrays and objects are merged). If set to 'overwrite', then every top-level property of .continuerc.json will overwrite that property from config.json."
- }
- }
- }
- }
-}
\ No newline at end of file
diff --git a/extensions/intellij/src/main/resources/icons/continue.svg b/extensions/intellij/src/main/resources/icons/continue.svg
deleted file mode 100644
index ab3f4d8bb..000000000
--- a/extensions/intellij/src/main/resources/icons/continue.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
diff --git a/extensions/vscode/.continuerc.json b/extensions/vscode/.continuerc.json
deleted file mode 100644
index 2533f4d69..000000000
--- a/extensions/vscode/.continuerc.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "customCommands": []
-}
diff --git a/extensions/vscode/.gitignore b/extensions/vscode/.gitignore
index af05aed4d..e0a5e65fc 100644
--- a/extensions/vscode/.gitignore
+++ b/extensions/vscode/.gitignore
@@ -10,7 +10,7 @@ exe
bin
assets
-gui/*
+gui/**
!gui/onigasm.wasm
.devcontainer
diff --git a/extensions/vscode/.prompts/review.prompt b/extensions/vscode/.prompts/review.prompt
deleted file mode 100644
index 85bbcad6e..000000000
--- a/extensions/vscode/.prompts/review.prompt
+++ /dev/null
@@ -1,28 +0,0 @@
-temperature: 0.0
----
-{{{ diff }}}
-
-Give me feedback on the above changes. For each file, you should output a markdown section including the following:
-- If you found any problems, an h3 like "❌ If set to merge, .continuerc.json will be applied on top of config.json (arrays and objects are merged). If set to overwrite, then every top-level property of .continuerc.json will overwrite that property from config.json.