This commit is contained in:
yetone 2024-08-15 04:06:37 +08:00
parent 29a1a9a359
commit 444739fe19
No known key found for this signature in database
GPG Key ID: 222BA52B342D52AA

View File

@ -79,10 +79,14 @@ Default setup configuration:
Given its early stage, `avante.nvim` currently supports the following basic functionalities:
1. Set `ANTHROPIC_API_KEY` environment variable.
1. Set `ANTHROPIC_API_KEY` environment variable:
```sh
export ANTHROPIC_API=your-api-key
```
Or set `OPENAI_API_KEY` environment variable:
```sh
export OPENAI_API_KEY=your-api-key
```
2. Open a code file in Neovim.
3. Use the `:AvanteAsk` command to query the AI about the code.
4. Review the AI's suggestions.