Prerequisites
- avante.nvim installed in Neovim
- A CometAPI account with an active API key
Setup
Get your CometAPI API key
Log in to the CometAPI dashboard. Click Add API Key and copy your key and base URL (

https://api.cometapi.com).

Edit your avante.nvim configuration
Open your Neovim config file and set the API endpoint to 
https://api.cometapi.com/v1. Paste your CometAPI key into the openai key field.