feat: specific provider for auto-suggestions (#569)

This commit is contained in:
yetone
2024-09-12 14:23:00 +08:00
committed by GitHub
parent 8184275770
commit 0642905c80
4 changed files with 9 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ M.defaults = {
debug = false,
---@alias Provider "claude" | "openai" | "azure" | "gemini" | "cohere" | "copilot" | [string]
provider = "claude", -- Only recommend using Claude
auto_suggestions_provider = "claude",
---@alias Tokenizer "tiktoken" | "hf"
-- Used for counting tokens and encoding text.
-- By default, we will use tiktoken.