feat: support multiple models in one provider (#2106)

This commit is contained in:
Avinash Thakur
2025-06-02 14:17:03 +05:30
committed by GitHub
parent 746f071b37
commit 054e84840b
3 changed files with 88 additions and 11 deletions

View File

@@ -287,6 +287,7 @@ vim.g.avante_login = vim.g.avante_login
---@field parse_api_key? fun(): string | nil
---
---@class AvanteProviderFunctor
---@field _model_list_cache table
---@field support_prompt_caching boolean | nil
---@field role_map table<"user" | "assistant", string>
---@field parse_messages AvanteMessagesParser