make copilot-chat.lua fallback to the latest model version in upstream plugin

This commit is contained in:
Giovanny Gongora 2024-09-08 02:35:02 +02:00 committed by GitHub
parent 3dbace941e
commit 78aeec7474
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,6 @@ return {
local user = vim.env.USER or "User"
user = user:sub(1, 1):upper() .. user:sub(2)
return {
model = "gpt-4",
auto_insert_mode = true,
show_help = true,
question_header = "" .. user .. " ",