avante.nvim 是一个 Neovim 插件,可将 AI 编程辅助功能带入你的编辑器。将其配置为使用 CometAPI 作为后端,以访问 GPT、Claude 和其他模型。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
前提条件
- 已在 Neovim 中安装 avante.nvim
- 拥有一个带有有效 API key 的 CometAPI 账户
设置
获取你的 CometAPI API key
编辑你的 avante.nvim 配置
打开你的 Neovim 配置文件,并将 API 端点设置为 
https://api.cometapi.com/v1。将你的 CometAPI key 粘贴到 openai key 字段中。

