diff --git a/extensions/intellij/src/main/resources/config_schema.json b/extensions/intellij/src/main/resources/config_schema.json index 29bb684e4..414764f66 100644 --- a/extensions/intellij/src/main/resources/config_schema.json +++ b/extensions/intellij/src/main/resources/config_schema.json @@ -199,8 +199,8 @@ "### Free Trial\nNew users can try out Continue for free using a proxy server that securely makes calls to OpenAI using our API key. If you are ready to use your own API key or have used all 250 free uses, you can enter your API key in config.json where it says `apiKey=\"\"` or select another model provider.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/freetrial)", "### Anthropic\nTo 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/anthropicllm)", "### Cohere\nTo use Cohere, visit the [Cohere dashboard](https://dashboard.cohere.com/api-keys) to create an API key.\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/cohere)", - "### Bedrock\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock/claude/)", - "### Bedrock Imported Models\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock/claude/)", + "### Bedrock\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock)", + "### Bedrock Imported Models\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock)", "### Sagemaker\nSagemaker is AWS' machine learning platform.", "### Together\nTogether 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\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/togetherllm)", "### Ollama\nTo 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/ollama)", @@ -240,6 +240,21 @@ "description": "The base URL of the LLM API.", "type": "string" }, + "region": { + "title": "Region", + "description": "The region where the model is hosted", + "type": "string" + }, + "profile": { + "title": "Profile", + "description": "The AWS security profile to use", + "type": "string" + }, + "modelArn": { + "title": "Profile", + "description": "The AWS arn for the imported model", + "type": "string" + }, "contextLength": { "title": "Context Length", "description": "The maximum context length of the LLM in tokens, as counted by countTokens.", @@ -391,6 +406,21 @@ "required": ["apiKey"] } }, + { + "if": { + "properties": { + "provider": { + "enum": [ + "bedrockimport" + ] + } + }, + "required": ["provider"] + }, + "then": { + "required": ["modelArn"] + } + }, { "if": { "properties": { @@ -2026,7 +2056,8 @@ "cohere", "free-trial", "gemini", - "voyage" + "voyage", + "bedrock" ] }, "model": { @@ -2049,6 +2080,16 @@ "type": "integer", "minimum": 128, "exclusiveMaximum": 2147483647 + }, + "region": { + "title": "Region", + "description": "The region where the model is hosted", + "type": "string" + }, + "profile": { + "title": "Profile", + "description": "The AWS security profile to use", + "type": "string" } }, "required": ["provider"], diff --git a/extensions/vscode/config_schema.json b/extensions/vscode/config_schema.json index 29bb684e4..414764f66 100644 --- a/extensions/vscode/config_schema.json +++ b/extensions/vscode/config_schema.json @@ -199,8 +199,8 @@ "### Free Trial\nNew users can try out Continue for free using a proxy server that securely makes calls to OpenAI using our API key. If you are ready to use your own API key or have used all 250 free uses, you can enter your API key in config.json where it says `apiKey=\"\"` or select another model provider.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/freetrial)", "### Anthropic\nTo 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/anthropicllm)", "### Cohere\nTo use Cohere, visit the [Cohere dashboard](https://dashboard.cohere.com/api-keys) to create an API key.\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/cohere)", - "### Bedrock\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock/claude/)", - "### Bedrock Imported Models\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock/claude/)", + "### Bedrock\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock)", + "### Bedrock Imported Models\nTo get started with Bedrock you need to sign up on AWS [here](https://aws.amazon.com/bedrock)", "### Sagemaker\nSagemaker is AWS' machine learning platform.", "### Together\nTogether 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\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/togetherllm)", "### Ollama\nTo 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/ollama)", @@ -240,6 +240,21 @@ "description": "The base URL of the LLM API.", "type": "string" }, + "region": { + "title": "Region", + "description": "The region where the model is hosted", + "type": "string" + }, + "profile": { + "title": "Profile", + "description": "The AWS security profile to use", + "type": "string" + }, + "modelArn": { + "title": "Profile", + "description": "The AWS arn for the imported model", + "type": "string" + }, "contextLength": { "title": "Context Length", "description": "The maximum context length of the LLM in tokens, as counted by countTokens.", @@ -391,6 +406,21 @@ "required": ["apiKey"] } }, + { + "if": { + "properties": { + "provider": { + "enum": [ + "bedrockimport" + ] + } + }, + "required": ["provider"] + }, + "then": { + "required": ["modelArn"] + } + }, { "if": { "properties": { @@ -2026,7 +2056,8 @@ "cohere", "free-trial", "gemini", - "voyage" + "voyage", + "bedrock" ] }, "model": { @@ -2049,6 +2080,16 @@ "type": "integer", "minimum": 128, "exclusiveMaximum": 2147483647 + }, + "region": { + "title": "Region", + "description": "The region where the model is hosted", + "type": "string" + }, + "profile": { + "title": "Profile", + "description": "The AWS security profile to use", + "type": "string" } }, "required": ["provider"],