diff options
Diffstat (limited to 'lua/plugins/copilot-chat.lua')
| -rw-r--r-- | lua/plugins/copilot-chat.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lua/plugins/copilot-chat.lua b/lua/plugins/copilot-chat.lua index c7decda..be40096 100644 --- a/lua/plugins/copilot-chat.lua +++ b/lua/plugins/copilot-chat.lua @@ -26,7 +26,7 @@ return { -- version = "v3.3.0", dependencies = { { "nvim-lua/plenary.nvim" }, - { "nvim-telescope/telescope.nvim" }, -- Using telescope instead of fzf-lua + -- { "nvim-telescope/telescope.nvim" }, -- Using telescope instead of fzf-lua }, opts = { -- question_header = "## User ", @@ -34,7 +34,7 @@ return { -- error_header = "## Error ", prompts = prompts, -- Turn off Claude model as it's not working well - -- model = "claude-3.5-sonnet", + model = "gpt-4.1", auto_follow_cursor = false, -- Don't follow the cursor after getting response }, @@ -50,7 +50,8 @@ return { -- opts.answer_header = " Copilot " -- Override the git prompts message opts.prompts.Commit = { - prompt = '> #git:staged\n\nWrite commit message with commitizen convention. Write clear, informative commit messages that explain the "what" and "why" behind changes, not just the "how".', + prompt = + '> #git:staged\n\nWrite commit message with commitizen convention. Write clear, informative commit messages that explain the "what" and "why" behind changes, not just the "how".', } chat.setup(opts) |