Skip to content

Commit

Permalink
fix(CopilotChat): set default model to gpt-4o
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamHsieh committed Jul 30, 2024
1 parent a717349 commit fa39f07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/nvim/lazy-lock.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"CopilotChat.nvim": { "branch": "canary", "commit": "f7861cb7d0ea46d57f67595876c8d2835eae29a2" },
"CopilotChat.nvim": { "branch": "canary", "commit": "4a5e07185b37d3132e5541d8fa42aa874b774476" },
"LuaSnip": { "branch": "master", "commit": "ce0a05ab4e2839e1c48d072c5236cce846a387bc" },
"SchemaStore.nvim": { "branch": "main", "commit": "30946db59edba23103c2f524e636910a7a2160df" },
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" },
Expand Down
4 changes: 2 additions & 2 deletions config/nvim/lua/plugins/copilotchat.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@module "CopilotChat"
local M = {
"CopilotC-Nvim/CopilotChat.nvim",
cmd = "CopilotChat",
Expand All @@ -6,9 +7,8 @@ local M = {
end,
}

---@type CopilotChat.config
M.opts = {
-- NOTE: https://github.com/CopilotC-Nvim/CopilotChat.nvim/issues/366
model = "gpt-4-0125-preview",
prompts = {
Explain = {
prompt =
Expand Down

0 comments on commit fa39f07

Please sign in to comment.