Zum Hauptinhalt springen
avante.nvim ist ein Neovim-Plugin, das KI-gestützte Coding-Unterstützung in deinen Editor bringt. Konfiguriere es so, dass CometAPI als Backend verwendet wird, um auf GPT, Claude und andere Modelle zuzugreifen.

Voraussetzungen

Einrichtung

1

Hol dir deinen CometAPI API key

Melde dich im CometAPI dashboard an. Klicke auf Add API Key und kopiere deinen Key sowie die Base-URL (https://api.cometapi.com).
CometAPI-Dashboard — Add API Key
CometAPI API key und Base-URL
2

Bearbeite deine avante.nvim-Konfiguration

Öffne deine Neovim-Konfigurationsdatei und setze den API-Endpunkt auf https://api.cometapi.com/v1. Füge deinen CometAPI-Key in das Schlüsselfeld openai ein.
avante.nvim-Konfigurationsdatei mit CometAPI-Base-URL und API-Key
3

Neu laden und testen

Lade Neovim neu und starte avante.nvim. Eine erfolgreiche Antwort bestätigt, dass die Einrichtung funktioniert.