Merge branch 'pzaback-📝-rename-googlepalmapi.md-to-googlegeminiapi.md' into preview
This commit is contained in:
commit
2fa3885bf8
7 changed files with 113 additions and 355 deletions
|
|
@ -57,7 +57,7 @@ You can use commercial LLMs via APIs using:
|
|||
- [Anthrophic API](../reference/Model%20Providers/anthropicllm.md)
|
||||
- [OpenAI API](../reference/Model%20Providers/openai.md)
|
||||
- [Azure OpenAI Service](../reference/Model%20Providers/openai.md)
|
||||
- [Google Gemini API](../reference/Model%20Providers/googlepalmapi.md)
|
||||
- [Google Gemini API](../reference/Model%20Providers/geminiapi.md)
|
||||
- [Mistral API](../reference/Model%20Providers/mistral.md)
|
||||
- [Voyage AI API](../walkthroughs/codebase-embeddings.md#openai)
|
||||
- [Cohere API](../reference/Model%20Providers/cohere.md)
|
||||
|
|
|
|||
2
docs/static/schemas/config.json
vendored
2
docs/static/schemas/config.json
vendored
|
|
@ -162,7 +162,7 @@
|
|||
"### Huggingface Inference API\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/huggingfaceinferenceapi)",
|
||||
"### Llama.cpp\nllama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:\n\n1. Clone the repository with `git clone https://github.com/ggerganov/llama.cpp`.\n2. `cd llama.cpp`\n3. Run `make` to build the server.\n4. Download the model you'd like to use and place it in the `llama.cpp/models` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))\n5. Run the llama.cpp server with the command below (replacing with the model you downloaded):\n\n```shell\n.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf\n```\n\nAfter it's up and running, you can start using Continue.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamacpp)",
|
||||
"### Replicate\nReplicate is a hosted service that makes it easy to run ML models. To get started with Replicate:\n1. Obtain an API key from [here](https://replicate.com)\n2. Paste below\n3. Select a model preset\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/replicatellm)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/googlepalmapi)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/geminiapi)",
|
||||
"### LMStudio\nLMStudio 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/lmstudio)",
|
||||
"### Llamafile\nTo get started with llamafiles, find and download a binary on their [GitHub repo](https://github.com/Mozilla-Ocho/llamafile#binary-instructions). Then run it with the following command:\n\n```shell\nchmod +x ./llamafile\n./llamafile\n```\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamafile)",
|
||||
"### Mistral API\n\nTo get access to the Mistral API, obtain your API key from the [Mistral platform](https://docs.mistral.ai/)",
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@
|
|||
"### Huggingface Inference API\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/huggingfaceinferenceapi)",
|
||||
"### Llama.cpp\nllama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:\n\n1. Clone the repository with `git clone https://github.com/ggerganov/llama.cpp`.\n2. `cd llama.cpp`\n3. Run `make` to build the server.\n4. Download the model you'd like to use and place it in the `llama.cpp/models` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))\n5. Run the llama.cpp server with the command below (replacing with the model you downloaded):\n\n```shell\n.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf\n```\n\nAfter it's up and running, you can start using Continue.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamacpp)",
|
||||
"### Replicate\nReplicate is a hosted service that makes it easy to run ML models. To get started with Replicate:\n1. Obtain an API key from [here](https://replicate.com)\n2. Paste below\n3. Select a model preset\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/replicatellm)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/googlepalmapi)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/geminiapi)",
|
||||
"### LMStudio\nLMStudio 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/lmstudio)",
|
||||
"### Llamafile\nTo get started with llamafiles, find and download a binary on their [GitHub repo](https://github.com/Mozilla-Ocho/llamafile#binary-instructions). Then run it with the following command:\n\n```shell\nchmod +x ./llamafile\n./llamafile\n```\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamafile)",
|
||||
"### Mistral API\n\nTo get access to the Mistral API, obtain your API key from the [Mistral platform](https://docs.mistral.ai/)",
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@
|
|||
"### Huggingface Inference API\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/huggingfaceinferenceapi)",
|
||||
"### Llama.cpp\nllama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:\n\n1. Clone the repository with `git clone https://github.com/ggerganov/llama.cpp`.\n2. `cd llama.cpp`\n3. Run `make` to build the server.\n4. Download the model you'd like to use and place it in the `llama.cpp/models` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))\n5. Run the llama.cpp server with the command below (replacing with the model you downloaded):\n\n```shell\n.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf\n```\n\nAfter it's up and running, you can start using Continue.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamacpp)",
|
||||
"### Replicate\nReplicate is a hosted service that makes it easy to run ML models. To get started with Replicate:\n1. Obtain an API key from [here](https://replicate.com)\n2. Paste below\n3. Select a model preset\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/replicatellm)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/googlepalmapi)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/geminiapi)",
|
||||
"### LMStudio\nLMStudio 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/lmstudio)",
|
||||
"### Llamafile\nTo get started with llamafiles, find and download a binary on their [GitHub repo](https://github.com/Mozilla-Ocho/llamafile#binary-instructions). Then run it with the following command:\n\n```shell\nchmod +x ./llamafile\n./llamafile\n```\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamafile)",
|
||||
"### Mistral API\n\nTo get access to the Mistral API, obtain your API key from the [Mistral platform](https://docs.mistral.ai/)",
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@
|
|||
"### Huggingface Inference API\n\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/huggingfaceinferenceapi)",
|
||||
"### Llama.cpp\nllama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:\n\n1. Clone the repository with `git clone https://github.com/ggerganov/llama.cpp`.\n2. `cd llama.cpp`\n3. Run `make` to build the server.\n4. Download the model you'd like to use and place it in the `llama.cpp/models` directory (the best place to find models is [The Bloke on HuggingFace](https://huggingface.co/TheBloke))\n5. Run the llama.cpp server with the command below (replacing with the model you downloaded):\n\n```shell\n.\\server.exe -c 4096 --host 0.0.0.0 -t 16 --mlock -m models/codellama-7b-instruct.Q8_0.gguf\n```\n\nAfter it's up and running, you can start using Continue.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamacpp)",
|
||||
"### Replicate\nReplicate is a hosted service that makes it easy to run ML models. To get started with Replicate:\n1. Obtain an API key from [here](https://replicate.com)\n2. Paste below\n3. Select a model preset\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/replicatellm)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/googlepalmapi)",
|
||||
"### Gemini API\nTo get started with Google Makersuite, obtain your API key from [here](https://makersuite.google.com) and paste it below.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/geminiapi)",
|
||||
"### LMStudio\nLMStudio 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.\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/lmstudio)",
|
||||
"### Llamafile\nTo get started with llamafiles, find and download a binary on their [GitHub repo](https://github.com/Mozilla-Ocho/llamafile#binary-instructions). Then run it with the following command:\n\n```shell\nchmod +x ./llamafile\n./llamafile\n```\n> [Reference](https://docs.continue.dev/reference/Model%20Providers/llamafile)",
|
||||
"### Mistral API\n\nTo get access to the Mistral API, obtain your API key from the [Mistral platform](https://docs.mistral.ai/)",
|
||||
|
|
@ -265,10 +265,7 @@
|
|||
"apiType": {
|
||||
"title": "Api Type",
|
||||
"markdownDescription": "OpenAI API type, either `openai` or `azure`",
|
||||
"enum": [
|
||||
"openai",
|
||||
"azure"
|
||||
]
|
||||
"enum": ["openai", "azure"]
|
||||
},
|
||||
"apiVersion": {
|
||||
"title": "Api Version",
|
||||
|
|
@ -281,11 +278,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"provider",
|
||||
"model"
|
||||
],
|
||||
"required": ["title", "provider", "model"],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
|
|
@ -295,9 +288,7 @@
|
|||
}
|
||||
},
|
||||
"not": {
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
}
|
||||
},
|
||||
"then": {
|
||||
|
|
@ -323,48 +314,33 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"required": [
|
||||
"apiKey"
|
||||
]
|
||||
"required": ["apiKey"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": {
|
||||
|
|
@ -384,14 +360,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"openai"
|
||||
]
|
||||
"enum": ["openai"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -421,14 +393,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"replicate"
|
||||
]
|
||||
"enum": ["replicate"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -458,14 +426,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"free-trial"
|
||||
]
|
||||
"enum": ["free-trial"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -492,9 +456,7 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"openai"
|
||||
]
|
||||
"enum": ["openai"]
|
||||
},
|
||||
"apiType": {
|
||||
"not": {
|
||||
|
|
@ -502,9 +464,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -561,14 +521,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"anthropic"
|
||||
]
|
||||
"enum": ["anthropic"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -596,22 +552,15 @@
|
|||
"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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -620,14 +569,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"bedrock"
|
||||
]
|
||||
"enum": ["bedrock"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -652,14 +597,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"gemini"
|
||||
]
|
||||
"enum": ["gemini"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -677,14 +618,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"together"
|
||||
]
|
||||
"enum": ["together"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -718,14 +655,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"deepinfra"
|
||||
]
|
||||
"enum": ["deepinfra"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -748,9 +681,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -796,14 +727,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"ollama"
|
||||
]
|
||||
"enum": ["ollama"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -851,14 +778,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"mistral"
|
||||
]
|
||||
"enum": ["mistral"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -879,14 +802,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"groq"
|
||||
]
|
||||
"enum": ["groq"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -910,30 +829,20 @@
|
|||
"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": {
|
||||
|
|
@ -950,9 +859,7 @@
|
|||
"const": "llamafile"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -966,14 +873,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"text-gen-webui"
|
||||
]
|
||||
"enum": ["text-gen-webui"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -987,14 +890,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"flowise"
|
||||
]
|
||||
"enum": ["flowise"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -1021,10 +920,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"key",
|
||||
"value"
|
||||
]
|
||||
"required": ["key", "value"]
|
||||
}
|
||||
},
|
||||
"additionalFlowiseConfiguration": {
|
||||
|
|
@ -1043,10 +939,7 @@
|
|||
"description": "Configuration Property value"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"key",
|
||||
"value"
|
||||
]
|
||||
"required": ["key", "value"]
|
||||
}
|
||||
},
|
||||
"model": {
|
||||
|
|
@ -1134,9 +1027,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"default"
|
||||
]
|
||||
"required": ["default"]
|
||||
},
|
||||
"SlashCommand": {
|
||||
"title": "SlashCommand",
|
||||
|
|
@ -1195,9 +1086,7 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"issue"
|
||||
]
|
||||
"enum": ["issue"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1210,23 +1099,17 @@
|
|||
"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"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1251,9 +1134,7 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"share"
|
||||
]
|
||||
"enum": ["share"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1271,10 +1152,7 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"required": [
|
||||
"name",
|
||||
"description"
|
||||
]
|
||||
"required": ["name", "description"]
|
||||
},
|
||||
"CustomCommand": {
|
||||
"title": "CustomCommand",
|
||||
|
|
@ -1293,11 +1171,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"prompt",
|
||||
"description"
|
||||
]
|
||||
"required": ["name", "prompt", "description"]
|
||||
},
|
||||
"ContextProviderWithParams": {
|
||||
"title": "ContextProviderWithParams",
|
||||
|
|
@ -1368,9 +1242,7 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"google"
|
||||
]
|
||||
"enum": ["google"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1383,23 +1255,17 @@
|
|||
"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": [
|
||||
"open"
|
||||
]
|
||||
"enum": ["open"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1421,9 +1287,7 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"issue"
|
||||
]
|
||||
"enum": ["issue"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1452,37 +1316,24 @@
|
|||
"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"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1500,11 +1351,7 @@
|
|||
"connection_type": {
|
||||
"type": "string",
|
||||
"description": "The type of database (e.g., 'postgres', 'mysql')",
|
||||
"enum": [
|
||||
"postgres",
|
||||
"mysql",
|
||||
"sqlite"
|
||||
]
|
||||
"enum": ["postgres", "mysql", "sqlite"]
|
||||
},
|
||||
"connection": {
|
||||
"type": "object",
|
||||
|
|
@ -1537,25 +1384,17 @@
|
|||
"required": []
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"type",
|
||||
"connection"
|
||||
]
|
||||
"required": ["name", "type", "connection"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"connections"
|
||||
]
|
||||
"required": ["connections"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"gitlab-mr"
|
||||
]
|
||||
"enum": ["gitlab-mr"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1576,23 +1415,17 @@
|
|||
"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"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1638,24 +1471,17 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"domain",
|
||||
"token"
|
||||
]
|
||||
"required": ["domain", "token"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"params"
|
||||
]
|
||||
"required": ["params"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"http"
|
||||
]
|
||||
"enum": ["http"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1668,24 +1494,17 @@
|
|||
"description": "The HTTP endpoint of your context provider server."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"url"
|
||||
]
|
||||
"required": ["url"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"params"
|
||||
]
|
||||
"required": ["params"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"codebase",
|
||||
"folder"
|
||||
]
|
||||
"enum": ["codebase", "folder"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1720,9 +1539,7 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"postgres"
|
||||
]
|
||||
"enum": ["postgres"]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -1774,19 +1591,11 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"host",
|
||||
"port",
|
||||
"user",
|
||||
"password",
|
||||
"database"
|
||||
]
|
||||
"required": ["host", "port", "user", "password", "database"]
|
||||
}
|
||||
}
|
||||
],
|
||||
"required": [
|
||||
"name"
|
||||
]
|
||||
"required": ["name"]
|
||||
},
|
||||
"SerializedContinueConfig": {
|
||||
"title": "config.json",
|
||||
|
|
@ -1937,46 +1746,32 @@
|
|||
"$ref": "#/definitions/RequestOptions"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
],
|
||||
"required": ["provider"],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"ollama"
|
||||
]
|
||||
"enum": ["ollama"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"required": [
|
||||
"model"
|
||||
]
|
||||
"required": ["model"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"provider": {
|
||||
"enum": [
|
||||
"cohere"
|
||||
]
|
||||
"enum": ["cohere"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"provider"
|
||||
]
|
||||
"required": ["provider"]
|
||||
},
|
||||
"then": {
|
||||
"required": [
|
||||
"apiKey"
|
||||
]
|
||||
"required": ["apiKey"]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1987,33 +1782,22 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"cohere",
|
||||
"voyage",
|
||||
"llm",
|
||||
"free-trial"
|
||||
]
|
||||
"enum": ["cohere", "voyage", "llm", "free-trial"]
|
||||
},
|
||||
"params": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"required": ["name"],
|
||||
"allOf": [
|
||||
{
|
||||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"cohere"
|
||||
]
|
||||
"enum": ["cohere"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
]
|
||||
"required": ["name"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -2035,9 +1819,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiKey"
|
||||
]
|
||||
"required": ["apiKey"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2046,14 +1828,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"llm"
|
||||
]
|
||||
"enum": ["llm"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
]
|
||||
"required": ["name"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -2064,9 +1842,7 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"modelTitle"
|
||||
]
|
||||
"required": ["modelTitle"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2075,14 +1851,10 @@
|
|||
"if": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"enum": [
|
||||
"voyage"
|
||||
]
|
||||
"enum": ["voyage"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
]
|
||||
"required": ["name"]
|
||||
},
|
||||
"then": {
|
||||
"properties": {
|
||||
|
|
@ -2093,14 +1865,10 @@
|
|||
"type": "string"
|
||||
},
|
||||
"model": {
|
||||
"enum": [
|
||||
"rerank-lite-1"
|
||||
]
|
||||
"enum": ["rerank-lite-1"]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiKey"
|
||||
]
|
||||
"required": ["apiKey"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2156,11 +1924,7 @@
|
|||
"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": {
|
||||
|
|
@ -2189,10 +1953,7 @@
|
|||
"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."
|
||||
}
|
||||
|
|
@ -2240,10 +2001,7 @@
|
|||
},
|
||||
"mergeBehavior": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"merge",
|
||||
"overwrite"
|
||||
],
|
||||
"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."
|
||||
|
|
@ -2251,4 +2009,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -831,7 +831,7 @@ export const PROVIDER_INFO: { [key: string]: ModelInfo } = {
|
|||
gemini: {
|
||||
title: "Google Gemini API",
|
||||
provider: "gemini",
|
||||
refPage: "googlepalmapi",
|
||||
refPage: "geminiapi",
|
||||
description:
|
||||
"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.`,
|
||||
|
|
@ -944,7 +944,7 @@ export const PROVIDER_INFO: { [key: string]: ModelInfo } = {
|
|||
refPage: "llamacpp",
|
||||
description: "If you are running the llama.cpp server from source",
|
||||
longDescription: `llama.cpp comes with a [built-in server](https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacppexampleserver) that can be run from source. To do this:
|
||||
|
||||
|
||||
1. Clone the repository with \`git clone https://github.com/ggerganov/llama.cpp\`.
|
||||
2. \`cd llama.cpp\`
|
||||
3. Run \`make\` to build the server.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue