fix: set default auto suggestions provider to nil (#1951)

This commit is contained in:
yetone
2025-05-01 02:50:01 +08:00
committed by GitHub
parent 99a2e35ff3
commit 32ca1ed38e
4 changed files with 7 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ function Suggestion:suggest()
local full_response = ""
local provider = Providers[Config.auto_suggestions_provider]
local provider = Providers[Config.auto_suggestions_provider or Config.provider]
---@type AvanteLLMMessage[]
local history_messages = {