chore(llm): cut-back support (#159)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2024-08-23 00:21:30 -04:00
committed by GitHub
parent 6475407d0d
commit c6d5073945
5 changed files with 10 additions and 117 deletions

View File

@@ -99,7 +99,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
```lua
{
---@alias Provider "openai" | "claude" | "azure" | "deepseek" | "groq" | "copilot" | [string]
---@alias Provider "openai" | "claude" | "azure" | "copilot" | [string]
provider = "claude",
claude = {
endpoint = "https://api.anthropic.com",
@@ -155,6 +155,11 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_
Given its early stage, `avante.nvim` currently supports the following basic functionalities:
> [!IMPORTANT]
>
> Avante will only support OpenAI (and its variants including copilot and azure), and Claude out-of-the-box due to its high code quality generation.
> For all OpenAI-compatible providers, see [wiki](https://github.com/yetone/avante.nvim/wiki) for more details.
> [!IMPORTANT]
>
> For most consistency between neovim session, it is recommended to set the environment variables in your shell file.
@@ -177,18 +182,6 @@ 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
> ```
>
> For Groq
>
> ```sh
> export GROQ_API_KEY=you-api-key
> ```
1. Open a code file in Neovim.
2. Use the `:AvanteAsk` command to query the AI about the code.