fix: not mandatory to replace the provider of the suggestion (#1121)

This commit is contained in:
yetone 2025-01-23 12:15:40 +08:00 committed by GitHub
parent be75ddea1c
commit 330ccb7e91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -285,8 +285,9 @@ function M.setup(opts)
-- Check if provider is copilot and warn user
if merged.auto_suggestions_provider == "copilot" then
Utils.warn("Warning: Copilot is not recommended as the default auto suggestion provider. Switching to Claude.")
merged.auto_suggestions_provider = "claude"
Utils.warn(
"Warning: Copilot is not recommended as the default auto suggestion provider. Because: https://github.com/yetone/avante.nvim/issues/1048"
)
end
M._options = merged