-- CopilotChat: in-nvim chat using your existing GitHub Copilot auth. return { 'CopilotC-Nvim/CopilotChat.nvim', dependencies = { 'github/copilot.vim', 'nvim-lua/plenary.nvim', }, build = 'make tiktoken', cmd = { 'CopilotChat', 'CopilotChatOpen', 'CopilotChatToggle', 'CopilotChatExplain', 'CopilotChatReview', 'CopilotChatFix', 'CopilotChatTests', 'CopilotChatCommit' }, opts = { model = 'gpt-4o', window = { layout = 'float', width = 0.8, height = 0.8, border = 'rounded', }, show_help = true, auto_follow_cursor = false, }, keys = { { 'cc', 'CopilotChatToggle', mode = { 'n', 'x' }, desc = '[C]opilot [C]hat' }, { 'ce', 'CopilotChatExplain', mode = { 'n', 'x' }, desc = '[C]opilot [E]xplain' }, { 'cf', 'CopilotChatFix', mode = { 'n', 'x' }, desc = '[C]opilot [F]ix' }, { 'cr', 'CopilotChatReview', mode = { 'n', 'x' }, desc = '[C]opilot [R]eview' }, { 'ct', 'CopilotChatTests', mode = { 'n', 'x' }, desc = '[C]opilot [T]ests' }, { 'cm', 'CopilotChatCommit', desc = '[C]opilot co[M]mit msg' }, }, }