diff --git a/README.md b/README.md index 9588ff2..f38418d 100644 --- a/README.md +++ b/README.md @@ -177,7 +177,7 @@ _See [config.lua#L9](./lua/avante/config.lua) for the full config_ ```lua { - ---@alias Provider "openai" | "claude" | "azure" | "cohere" | [string] + ---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | string provider = "claude", -- Recommend using Claude claude = { endpoint = "https://api.anthropic.com", diff --git a/lua/avante/config.lua b/lua/avante/config.lua index d46f7a5..6d88a62 100644 --- a/lua/avante/config.lua +++ b/lua/avante/config.lua @@ -10,7 +10,7 @@ local M = {} ---@field silent_warning boolean will be determined from debug M.defaults = { debug = false, - ---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | string + ---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | string provider = "claude", -- Only recommend using Claude ---@type AvanteSupportedProvider openai = {