feat: support deepseek (#69)
The DeepSeek API reduces costs through disk caching, and DeepSeek-Coder-V2-0724 achieves GPT-4-Turbo-0409 level code capabilities with excellent math and reasoning skills.
This commit is contained in:
10
README.md
10
README.md
@@ -81,8 +81,8 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
|
||||
|
||||
```lua
|
||||
{
|
||||
---@alias Provider "openai" | "claude" | "azure"
|
||||
provider = "claude", -- "claude" or "openai" or "azure"
|
||||
---@alias Provider "openai" | "claude" | "azure" | "deepseek"
|
||||
provider = "claude", -- "claude" or "openai" or "azure" or "deepseek"
|
||||
openai = {
|
||||
endpoint = "https://api.openai.com",
|
||||
model = "gpt-4o",
|
||||
@@ -167,6 +167,12 @@ Given its early stage, `avante.nvim` currently supports the following basic func
|
||||
> ```sh
|
||||
> export AZURE_OPENAI_API_KEY=your-api-key
|
||||
> ```
|
||||
>
|
||||
> For DeepSeek
|
||||
>
|
||||
> ```sh
|
||||
> export DEEPSEEK_API_KEY=you-api-key
|
||||
> ```
|
||||
|
||||
1. Open a code file in Neovim.
|
||||
2. Use the `:AvanteAsk` command to query the AI about the code.
|
||||
|
||||
Reference in New Issue
Block a user