docs: Clarify storage of AI API keys (#35963)
Previous docs was inaccurate as Zed doesn't store LLM API keys in the `settings.json`. Release Notes: - N/A
This commit is contained in:
parent
308cb9e537
commit
c82cd0c6b1
1 changed files with 17 additions and 17 deletions
|
@ -6,29 +6,29 @@ You can do that by either subscribing to [one of Zed's plans](./plans-and-usage.
|
||||||
|
|
||||||
## Use Your Own Keys {#use-your-own-keys}
|
## Use Your Own Keys {#use-your-own-keys}
|
||||||
|
|
||||||
If you already have an API key for an existing LLM provider—say Anthropic or OpenAI, for example—you can insert them in Zed and use the Agent Panel **_for free_**.
|
If you already have an API key for an existing LLM provider—say Anthropic or OpenAI, for example—you can insert them into Zed and use the full power of the Agent Panel **_for free_**.
|
||||||
|
|
||||||
You can add your API key to a given provider either via the Agent Panel's settings UI or directly via the `settings.json` through the `language_models` key.
|
To add an existing API key to a given provider, go to the Agent Panel settings (`agent: open settings`), look for the desired provider, paste the key into the input, and hit enter.
|
||||||
|
|
||||||
|
> Note: API keys are _not_ stored as plain text in your `settings.json`, but rather in your OS's secure credential storage.
|
||||||
|
|
||||||
## Supported Providers
|
## Supported Providers
|
||||||
|
|
||||||
Here's all the supported LLM providers for which you can use your own API keys:
|
Here's all the supported LLM providers for which you can use your own API keys:
|
||||||
|
|
||||||
| Provider |
|
- [Amazon Bedrock](#amazon-bedrock)
|
||||||
| ----------------------------------------------- |
|
- [Anthropic](#anthropic)
|
||||||
| [Amazon Bedrock](#amazon-bedrock) |
|
- [DeepSeek](#deepseek)
|
||||||
| [Anthropic](#anthropic) |
|
- [GitHub Copilot Chat](#github-copilot-chat)
|
||||||
| [DeepSeek](#deepseek) |
|
- [Google AI](#google-ai)
|
||||||
| [GitHub Copilot Chat](#github-copilot-chat) |
|
- [LM Studio](#lmstudio)
|
||||||
| [Google AI](#google-ai) |
|
- [Mistral](#mistral)
|
||||||
| [LM Studio](#lmstudio) |
|
- [Ollama](#ollama)
|
||||||
| [Mistral](#mistral) |
|
- [OpenAI](#openai)
|
||||||
| [Ollama](#ollama) |
|
- [OpenAI API Compatible](#openai-api-compatible)
|
||||||
| [OpenAI](#openai) |
|
- [OpenRouter](#openrouter)
|
||||||
| [OpenAI API Compatible](#openai-api-compatible) |
|
- [Vercel](#vercel-v0)
|
||||||
| [OpenRouter](#openrouter) |
|
- [xAI](#xai)
|
||||||
| [Vercel](#vercel-v0) |
|
|
||||||
| [xAI](#xai) |
|
|
||||||
|
|
||||||
### Amazon Bedrock {#amazon-bedrock}
|
### Amazon Bedrock {#amazon-bedrock}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue