From 444739fe19381fc9bf0aa1fb1cfd6a2f6cd5637b Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 15 Aug 2024 04:06:37 +0800 Subject: [PATCH] fix: doc --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41a9995..07c611e 100644 --- a/README.md +++ b/README.md @@ -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.