CopilotChat.nvim

CopilotChat.nvim

代码对话与优化插件

CopilotChat.nvim是专为Neovim打造的AI编程助手插件。它提供智能代码解释、审查、优化和测试生成功能,同时支持问题修复和提交信息编写。该插件具备灵活的配置选项,允许自定义提示和窗口布局,并可与Telescope、fzf-lua等热门插件集成。通过提供智能化的编程支持,CopilotChat.nvim旨在提升Neovim用户的开发效率。

Copilot ChatNeovim插件AI助手代码编辑Github开源项目

Neovim 的 Copilot Chat

文档 pre-commit.ci Discord

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->

所有贡献者

<!-- ALL-CONTRIBUTORS-BADGE:END -->

[!注意] 插件已从 Python 重写为 Lua。请查看从版本 1 迁移到版本 2 的指南以获取更多信息。

前提条件

确保您已安装以下内容:

  • Neovim 稳定版 (0.9.5) 或每日构建版

可选:

  • tiktoken_core:sudo luarocks install --lua-version 5.1 tiktoken_core。或者,从 lua-tiktoken 发布页面 下载预编译的二进制文件
  • 您可以在 Neovim 中通过执行 :lua print(package.cpath) 检查您的 Lua 路径。将二进制文件保存为 tiktoken_core.so 到给定路径中的任何一个。

对于 Arch Linux 用户,您可以从 AUR 安装 luajit-tiktoken-binlua51-tiktoken-bin

安装

Lazy.nvim

return { { "CopilotC-Nvim/CopilotChat.nvim", branch = "canary", dependencies = { { "zbirenbaum/copilot.lua" }, -- 或 github/copilot.vim { "nvim-lua/plenary.nvim" }, -- 用于 curl, log 包装器 }, opts = { debug = true, -- 启用调试 -- 其余配置见配置部分 }, -- 如果想懒加载,请查看命令部分的默认命令 }, }

参见 @jellydn 的配置

Vim-Plug

类似于 lazy 设置,您可以使用以下配置:

call plug#begin() Plug 'zbirenbaum/copilot.lua' Plug 'nvim-lua/plenary.nvim' Plug 'CopilotC-Nvim/CopilotChat.nvim', { 'branch': 'canary' } call plug#end() lua << EOF require("CopilotChat").setup { debug = true, -- 启用调试 -- 其余配置见配置部分 } EOF

手动安装

  1. 将文件放在正确的位置
mkdir -p ~/.config/nvim/pack/copilotchat/start
cd ~/.config/nvim/pack/copilotchat/start

git clone https://github.com/zbirenbaum/copilot.lua
git clone https://github.com/nvim-lua/plenary.nvim

git clone -b canary https://github.com/CopilotC-Nvim/CopilotChat.nvim
  1. 添加到您的配置文件(例如 ~/.config/nvim/init.lua
require("CopilotChat").setup { debug = true, -- 启用调试 -- 其余配置见配置部分 }

参见 @deathbeam 的配置

使用方法

命令

  • :CopilotChat <输入>? - 打开聊天窗口,可选输入
  • :CopilotChatOpen - 打开聊天窗口
  • :CopilotChatClose - 关闭聊天窗口
  • :CopilotChatToggle - 切换聊天窗口
  • :CopilotChatStop - 停止当前 copilot 输出
  • :CopilotChatReset - 重置聊天窗口
  • :CopilotChatSave <名称>? - 将聊天历史保存到文件
  • :CopilotChatLoad <名称>? - 从文件加载聊天历史
  • :CopilotChatDebugInfo - 显示调试信息
  • :CopilotChatModels - 查看和选择可用模型。每次创建新实例时都会重置。请在 init.lua 中设置您的模型以保持持久性。

来自默认提示的命令

  • :CopilotChatExplain - 为活动选择编写解释,以段落形式呈现
  • :CopilotChatReview - 审查所选代码
  • :CopilotChatFix - 此代码存在问题。重写代码以修复错误
  • :CopilotChatOptimize - 优化所选代码以提高性能和可读性
  • :CopilotChatDocs - 请为选中的代码添加文档注释
  • :CopilotChatTests - 请为我的代码生成测试
  • :CopilotChatFixDiagnostic - 请协助解决文件中的以下诊断问题
  • :CopilotChatCommit - 按照 commitizen 约定为更改编写提交消息
  • :CopilotChatCommitStaged - 按照 commitizen 约定为暂存的更改编写提交消息

API

local chat = require("CopilotChat") -- 打开聊天窗口 chat.open() -- 使用自定义选项打开聊天窗口 chat.open({ window = { layout = 'float', title = '我的标题', }, }) -- 关闭聊天窗口 chat.close() -- 切换聊天窗口 chat.toggle() -- 使用自定义选项切换聊天窗口 chat.toggle({ window = { layout = 'float', title = '我的标题', }, }) -- 重置聊天窗口 chat.reset() -- 提问 chat.ask("解释它是如何工作的。") -- 使用自定义选项提问 chat.ask("解释它是如何工作的。", { selection = require("CopilotChat.select").buffer, }) -- 提问并对响应做些处理 chat.ask("展示一些有趣的东西", { callback = function(response) print("响应:", response) end, }) -- 获取所有可用提示(可用于 fzf/telescope 等集成) local prompts = chat.prompts() -- 获取最后一个 copilot 响应(也可用于集成和自定义键映射) local response = chat.response() -- 使用 vim.ui.select 选择提示 local actions = require("CopilotChat.actions") -- 选择帮助操作 actions.pick(actions.help_actions()) -- 选择提示操作 actions.pick(actions.prompt_actions({ selection = require("CopilotChat.select").visual, }))

配置

默认配置

另请参见此处

{ debug = false, -- 启用调试日志 proxy = nil, -- [protocol://]host[:port] 使用此代理 allow_insecure = false, -- 允许不安全的服务器连接 yank_diff_register = '"', -- 允许覆盖用于复制差异的寄存器 system_prompt = prompts.COPILOT_INSTRUCTIONS, -- 使用的系统提示 model = 'gpt-4o', -- 使用的 GPT 模型,'gpt-3.5-turbo'、'gpt-4' 或 'gpt-4o' temperature = 0.1, -- GPT 温度 question_header = '## 用户 ', -- 用户问题的标头 answer_header = '## Copilot ', -- AI 回答的标头 error_header = '## 错误 ', -- 错误的标头 separator = '───', -- 聊天中使用的分隔符

show_folds = true, -- 显示聊天中的段落折叠 show_help = true, -- 等待用户输入时显示帮助信息作为虚拟行 auto_follow_cursor = true, -- 在聊天中自动跟随光标 auto_insert_mode = false, -- 打开窗口时自动进入插入模式,如果启用了自动跟随光标则在新提示符时也会进入 clear_chat_on_new_prompt = false, -- 每次新提示时清空聊天 highlight_selection = true, -- 在聊天窗口中高亮源缓冲区的选择

context = nil, -- 要使用的默认上下文,'buffers'、'buffer'或无(可以在提示中通过@手动指定) history_path = vim.fn.stdpath('data') .. '/copilotchat_history', -- 存储历史记录的默认路径 callback = nil, -- 接收到询问响应时使用的回调函数

-- 默认选择(可视或行) selection = function(source) return select.visual(source) or select.line(source) end,

-- 默认提示 prompts = { Explain = { prompt = '/COPILOT_EXPLAIN 为活动选择编写解释,以段落文本形式。', }, Review = { prompt = '/COPILOT_REVIEW 审查所选代码。', callback = function(response, source) -- 实现见 config.lua end, }, Fix = { prompt = '/COPILOT_GENERATE 这段代码有问题。重写代码以修复错误。', }, Optimize = { prompt = '/COPILOT_GENERATE 优化所选代码以提高性能和可读性。', }, Docs = { prompt = '/COPILOT_GENERATE 请为所选内容添加文档注释。', }, Tests = { prompt = '/COPILOT_GENERATE 请为我的代码生成测试。', }, FixDiagnostic = { prompt = '请协助解决文件中的以下诊断问题:', selection = select.diagnostics, }, Commit = { prompt = '使用 commitizen 约定编写提交消息。确保标题最多50个字符,消息在72个字符处换行。将整个消息包裹在带有 gitcommit 语言的代码块中。', selection = select.gitdiff, }, CommitStaged = { prompt = '使用 commitizen 约定编写提交消息。确保标题最多50个字符,消息在72个字符处换行。将整个消息包裹在带有 gitcommit 语言的代码块中。', selection = function(source) return select.gitdiff(source, true) end, }, },

-- 默认窗口选项 window = { layout = 'vertical', -- 'vertical', 'horizontal', 'float', 'replace' width = 0.5, -- 父窗口的宽度比例,或当 > 1 时的绝对列数 height = 0.5, -- 父窗口的高度比例,或当 > 1 时的绝对行数 -- 以下选项仅适用于浮动窗口 relative = 'editor', -- 'editor', 'win', 'cursor', 'mouse' border = 'single', -- 'none', 'single', 'double', 'rounded', 'solid', 'shadow' row = nil, -- 窗口的行位置,默认居中 col = nil, -- 窗口的列位置,默认居中 title = 'Copilot Chat', -- 聊天窗口标题 footer = nil, -- 聊天窗口页脚 zindex = 1, -- 决定窗口是在其他浮动窗口之上还是之下 },

-- 默认映射 mappings = { complete = { detail = '使用 @<Tab> 或 /<Tab> 获取选项。', insert ='<Tab>', }, close = { normal = 'q', insert = '<C-c>' }, reset = { normal ='<C-l>', insert = '<C-l>' }, submit_prompt = { normal = '<CR>', insert = '<C-s>' }, accept_diff = { normal = '<C-y>', insert = '<C-y>' }, yank_diff = { normal = 'gy', }, show_diff = { normal = 'gd' }, show_system_prompt = { normal = 'gp' }, show_user_selection = { normal = 'gs' }, }, }

更多参考,你可以查看 @jellydn 的配置

定义带命令和键映射的提示

这将定义一个提示,你可以在聊天中用 /MyCustomPrompt 引用,用 :CopilotChatMyCustomPrompt 调用或使用键映射 <leader>ccmc。 它将使用可视选择作为默认选择。如果你使用 lazy.nvim 并且已经基于 Commands 进行了延迟加载,请确保在 cmdkeys 中分别包含提示命令和键映射。

{ prompts = { MyCustomPrompt = { prompt = '解释它是如何工作的。', mapping = '<leader>ccmc', description = '我的自定义提示描述', selection = require('CopilotChat.select').visual, }, }, }

引用系统或用户提示

你可以在配置或聊天中使用 /PROMPT_NAME 斜杠表示法引用系统或用户提示。 有关默认 COPILOT_ (系统)和 USER_ (用户)提示的集合,请参见这里

{ prompts = { MyCustomPrompt = { prompt = '/COPILOT_EXPLAIN 解释它是如何工作的。', }, MyCustomPrompt2 = { prompt = '/MyCustomPrompt 包含一些额外的上下文。', }, }, }

自定义系统提示

在传递配置时,你可以使用 system_prompt 属性定义自定义系统提示。

{ system_prompt = '你的名字是 Github Copilot,你是开发者的 AI 助手。', prompts = { MyCustomPromptWithCustomSystemPrompt = { system_prompt = '你的名字是 Johny Microsoft,你不是开发者的 AI 助手。', prompt = '解释它是如何工作的。', }, }, }

自定义缓冲区

你可以为此插件创建的缓冲区设置本地选项:copilot-diffcopilot-system-promptcopilot-user-selectioncopilot-chat

vim.api.nvim_create_autocmd('BufEnter', { pattern = 'copilot-*', callback = function() vim.opt_local.relativenumber = true -- C-p 打印最后一次响应 vim.keymap.set('n', '<C-p>', function() print(require("CopilotChat").response()) end, { buffer = true, remap = true }) end })

提示

<details> <summary>快速与缓冲区聊天</summary>

要使用整个缓冲区内容与 Copilot 聊天,你可以在键映射中添加以下配置:

-- lazy.nvim keys -- 与 Copilot 快速聊天 { "<leader>ccq", function() local input = vim.fn.input("快速聊天: ") if input ~= "" then require("CopilotChat").ask(input, { selection = require("CopilotChat.select").buffer }) end end, desc = "CopilotChat - 快速聊天", }

与缓冲区聊天

</details> <details> <summary>内联聊天</summary>

将窗口布局更改为 float 并相对于光标定位,使窗口看起来像内联聊天。 这将允许你与 Copilot 聊天而无需打开新窗口。

-- lazy.nvim opts { window = { layout = 'float', relative = 'cursor', width = 1, height = 0.4, row = 1 } }

内联聊天

</details> <details> <summary>Telescope 集成</summary>

需要安装 telescope.nvim 插件。

-- lazy.nvim keys -- 使用 telescope 显示帮助操作 { "<leader>cch", function() local actions = require("CopilotChat.actions") require("CopilotChat.integrations.telescope").pick(actions.help_actions()) end, desc = "CopilotChat - 帮助操作", }, -- 使用 telescope 显示提示操作 { "<leader>ccp", function() local actions = require("CopilotChat.actions") require("CopilotChat.integrations.telescope").pick(actions.prompt_actions()) end, desc = "CopilotChat - 提示操作", },

image

</details> <details> <summary>fzf-lua 集成</summary>

需要安装 fzf-lua 插件。

-- lazy.nvim 按键设置 -- 使用 fzf-lua 显示帮助操作 { "<leader>cch", function() local actions = require("CopilotChat.actions") require("CopilotChat.integrations.fzflua").pick(actions.help_actions()) end, desc = "CopilotChat - 帮助操作", }, -- 使用 fzf-lua 显示提示操作 { "<leader>ccp", function() local actions = require("CopilotChat.actions") require("CopilotChat.integrations.fzflua").pick(actions.prompt_actions()) end, desc = "CopilotChat - 提示操作", },

image

</details> <details> <summary>nvim-cmp 集成</summary>

需要安装并正确配置 nvim-cmp 插件。

-- 注册 copilot-chat 源并为 copilot-chat 文件类型启用它(即 copilot 聊天窗口) require("CopilotChat.integrations.cmp").setup() -- 在执行此操作时,你可能还想禁用 copilot 聊天的默认 <tab> 补全映射 require('CopilotChat').setup({ mappings = { complete = { insert = '', }, }, -- 其余配置 })

image

</details>

路线图(愿望清单)

  • 使用带有当前工作区的索引向量数据库以获得更好的上下文选择
  • 一般性的生活质量改进

开发

安装预提交工具

对于开发,你可以使用提供的 Makefile 命令来安装预提交工具:

make install-pre-commit

这将安装预提交工具和预提交钩子。

贡献者 ✨

如果你想为这个项目做出贡献,请阅读 CONTRIBUTING.md 文件。

感谢这些优秀的人(表情符号键):

<!-- ALL-CONTRIBUTORS-LIST:START - 请勿移除或修改此部分 --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/gptlang"><img src="https://avatars.githubusercontent.com/u/121417512?v=4?s=100" width="100px;" alt="gptlang"/><br /><sub><b>gptlang</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=gptlang" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=gptlang" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://productsway.com/"><img src="https://avatars.githubusercontent.com/u/870029?v=4?s=100" width="100px;" alt="Dung Duc Huynh (Kaka)"/><br /><sub><b>Dung Duc Huynh (Kaka)</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=jellydn" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=jellydn" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://qoobes.dev"><img src="https://avatars.githubusercontent.com/u/58834655?v=4?s=100" width="100px;" alt="Ahmed Haracic"/><br /><sub><b>Ahmed Haracic</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=qoobes" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://youtube.com/@ziontee113"><img src="https://avatars.githubusercontent.com/u/102876811?v=4?s=100" width="100px;" alt="Trí Thiện Nguyễn"/><br /><sub><b>Trí Thiện Nguyễn</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=ziontee113" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/Cassius0924"><img src="https://avatars.githubusercontent.com/u/62874592?v=4?s=100" width="100px;" alt="He Zhizhou"/><br /><sub><b>He Zhizhou</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=Cassius0924" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://www.linkedin.com/in/guruprakashrajakkannu/"><img src="https://avatars.githubusercontent.com/u/9963717?v=4?s=100" width="100px;" alt="Guruprakash Rajakkannu"/><br /><sub><b>Guruprakash Rajakkannu</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=rguruprakash" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/kristofka"><img src="https://avatars.githubusercontent.com/u/140354?v=4?s=100" width="100px;" alt="kristofka"/><br /><sub><b>kristofka</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=kristofka" title="代码">💻</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/PostCyberPunk"><img src="https://avatars.githubusercontent.com/u/134976996?v=4?s=100" width="100px;" alt="PostCyberPunk"/><br /><sub><b>PostCyberPunk</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=PostCyberPunk" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/ktns"><img src="https://avatars.githubusercontent.com/u/1302759?v=4?s=100" width="100px;" alt="Katsuhiko Nishimra"/><br /><sub><b>Katsuhiko Nishimra</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=ktns" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/errnoh"><img src="https://avatars.githubusercontent.com/u/373946?v=4?s=100" width="100px;" alt="Erno Hopearuoho"/><br /><sub><b>Erno Hopearuoho</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=errnoh" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/shaungarwood"><img src="https://avatars.githubusercontent.com/u/4156525?v=4?s=100" width="100px;" alt="Shaun Garwood"/><br /><sub><b>Shaun Garwood</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=shaungarwood" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/neutrinoA4"><img src="https://avatars.githubusercontent.com/u/122616073?v=4?s=100" width="100px;" alt="neutrinoA4"/><br /><sub><b>neutrinoA4</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=neutrinoA4" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=neutrinoA4" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/banjocat"><img src="https://avatars.githubusercontent.com/u/3247309?v=4?s=100" width="100px;" alt="Jack Muratore"/><br /><sub><b>Jack Muratore</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=banjocat" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/AdrielVelazquez"><img src="https://avatars.githubusercontent.com/u/3443378?v=4?s=100" width="100px;" alt="Adriel Velazquez"/><br /><sub><b>Adriel Velazquez</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=AdrielVelazquez" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=AdrielVelazquez" title="文档">📖</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/deathbeam"><img src="https://avatars.githubusercontent.com/u/5115805?v=4?s=100" width="100px;" alt="Tomas Slusny"/><br /><sub><b>Tomas Slusny</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=deathbeam" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=deathbeam" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="http://nisalvd.netlify.com/"><img src="https://avatars.githubusercontent.com/u/30633436?v=4?s=100" width="100px;" alt="Nisal"/><br /><sub><b>Nisal</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=nisalVD" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="http://www.gaardhus.dk"><img src="https://avatars.githubusercontent.com/u/46934916?v=4?s=100" width="100px;" alt="Tobias Gårdhus"/><br /><sub><b>Tobias Gårdhus</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=gaardhus" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://www.patreon.com/PetrDlouhy"><img src="https://avatars.githubusercontent.com/u/156755?v=4?s=100" width="100px;" alt="Petr Dlouhý"/><br /><sub><b>Petr Dlouhý</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=PetrDlouhy" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="http://www.dylanmadisetti.com"><img src="https://avatars.githubusercontent.com/u/2689338?v=4?s=100" width="100px;" alt="Dylan Madisetti"/><br /><sub><b>Dylan Madisetti</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=dmadisetti" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/aweis89"><img src="https://avatars.githubusercontent.com/u/5186956?v=4?s=100" width="100px;" alt="Aaron Weisberg"/><br /><sub><b>Aaron Weisberg</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=aweis89" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=aweis89" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/tlacuilose"><img src="https://avatars.githubusercontent.com/u/65783495?v=4?s=100" width="100px;" alt="Jose Tlacuilo"/><br /><sub><b>Jose Tlacuilo</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=tlacuilose" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=tlacuilose" title="文档">📖</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="http://kevintraver.com"><img src="https://avatars.githubusercontent.com/u/196406?v=4?s=100" width="100px;" alt="Kevin Traver"/><br /><sub><b>Kevin Traver</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=kevintraver" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=kevintraver" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/D7ry"><img src="https://avatars.githubusercontent.com/u/92609548?v=4?s=100" width="100px;" alt="dTry"/><br /><sub><b>dTry</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=D7ry" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://blog.ornew.io"><img src="https://avatars.githubusercontent.com/u/19766770?v=4?s=100" width="100px;" alt="Arata Furukawa"/><br /><sub><b>Arata Furukawa</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=ornew" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/lingjie00"><img src="https://avatars.githubusercontent.com/u/64540764?v=4?s=100" width="100px;" alt="Ling"/><br /><sub><b>Ling</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=lingjie00" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/frolvanya"><img src="https://avatars.githubusercontent.com/u/59515280?v=4?s=100" width="100px;" alt="Ivan Frolov"/><br /><sub><b>Ivan Frolov</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=frolvanya" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="http://www.folkelemaitre.com"><img src="https://avatars.githubusercontent.com/u/292349?v=4?s=100" width="100px;" alt="Folke Lemaitre"/><br /><sub><b>Folke Lemaitre</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=folke" title="代码">💻</a> <a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=folke" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/GitMurf"><img src="https://avatars.githubusercontent.com/u/64155612?v=4?s=100" width="100px;" alt="GitMurf"/><br /><sub><b>GitMurf</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=GitMurf" title="代码">💻</a></td> </tr> <tr> <td align="center" valign="top" width="14.28%"><a href="http://dimalip.in"><img src="https://avatars.githubusercontent.com/u/6877858?v=4?s=100" width="100px;" alt="Dmitrii Lipin"/><br /><sub><b>Dmitrii Lipin</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=festeh" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://nvimer.org"><img src="https://avatars.githubusercontent.com/u/41784264?v=4?s=100" width="100px;" alt="jinzhongjia"/><br /><sub><b>jinzhongjia</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=jinzhongjia" title="文档">📖</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/guill"><img src="https://avatars.githubusercontent.com/u/3157454?v=4?s=100" width="100px;" alt="guill"/><br /><sub><b>guill</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=guill" title="代码">💻</a></td> <td align="center" valign="top" width="14.28%"><a href="https://github.com/sjonpaulbrown-cc"><img src="https://avatars.githubusercontent.com/u/81941908?v=4?s=100" width="100px;" alt="Sjon-Paul Brown"/><br /><sub><b>Sjon-Paul Brown</b></sub></a><br /><a href="https://github.com/CopilotC-Nvim/CopilotChat.nvim/commits?author=sjonpaulbrown-cc" title="代码">💻</a></td> </tr> </tbody> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

本项目遵循all-contributors规范。欢迎任何形式的贡献!

随时间变化的星标数

随时间变化的星标数

编辑推荐精选

Trae

Trae

字节跳动发布的AI编程神器IDE

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
问小白

问小白

全能AI智能助手,随时解答生活与工作的多样问题

问小白,由元石科技研发的AI智能助手,快速准确地解答各种生活和工作问题,包括但不限于搜索、规划和社交互动,帮助用户在日常生活中提高效率,轻松管理个人事务。

热门AI助手AI对话AI工具聊天机器人
Transly

Transly

实时语音翻译/同声传译工具

Transly是一个多场景的AI大语言模型驱动的同声传译、专业翻译助手,它拥有超精准的音频识别翻译能力,几乎零延迟的使用体验和支持多国语言可以让你带它走遍全球,无论你是留学生、商务人士、韩剧美剧爱好者,还是出国游玩、多国会议、跨国追星等等,都可以满足你所有需要同传的场景需求,线上线下通用,扫除语言障碍,让全世界的语言交流不再有国界。

讯飞智文

讯飞智文

一键生成PPT和Word,让学习生活更轻松

讯飞智文是一个利用 AI 技术的项目,能够帮助用户生成 PPT 以及各类文档。无论是商业领域的市场分析报告、年度目标制定,还是学生群体的职业生涯规划、实习避坑指南,亦或是活动策划、旅游攻略等内容,它都能提供支持,帮助用户精准表达,轻松呈现各种信息。

AI办公办公工具AI工具讯飞智文AI在线生成PPTAI撰写助手多语种文档生成AI自动配图热门
讯飞星火

讯飞星火

深度推理能力全新升级,全面对标OpenAI o1

科大讯飞的星火大模型,支持语言理解、知识问答和文本创作等多功能,适用于多种文件和业务场景,提升办公和日常生活的效率。讯飞星火是一个提供丰富智能服务的平台,涵盖科技资讯、图像创作、写作辅助、编程解答、科研文献解读等功能,能为不同需求的用户提供便捷高效的帮助,助力用户轻松获取信息、解决问题,满足多样化使用场景。

热门AI开发模型训练AI工具讯飞星火大模型智能问答内容创作多语种支持智慧生活
Spark-TTS

Spark-TTS

一种基于大语言模型的高效单流解耦语音令牌文本到语音合成模型

Spark-TTS 是一个基于 PyTorch 的开源文本到语音合成项目,由多个知名机构联合参与。该项目提供了高效的 LLM(大语言模型)驱动的语音合成方案,支持语音克隆和语音创建功能,可通过命令行界面(CLI)和 Web UI 两种方式使用。用户可以根据需求调整语音的性别、音高、速度等参数,生成高质量的语音。该项目适用于多种场景,如有声读物制作、智能语音助手开发等。

咔片PPT

咔片PPT

AI助力,做PPT更简单!

咔片是一款轻量化在线演示设计工具,借助 AI 技术,实现从内容生成到智能设计的一站式 PPT 制作服务。支持多种文档格式导入生成 PPT,提供海量模板、智能美化、素材替换等功能,适用于销售、教师、学生等各类人群,能高效制作出高品质 PPT,满足不同场景演示需求。

讯飞绘文

讯飞绘文

选题、配图、成文,一站式创作,让内容运营更高效

讯飞绘文,一个AI集成平台,支持写作、选题、配图、排版和发布。高效生成适用于各类媒体的定制内容,加速品牌传播,提升内容营销效果。

热门AI辅助写作AI工具讯飞绘文内容运营AI创作个性化文章多平台分发AI助手
材料星

材料星

专业的AI公文写作平台,公文写作神器

AI 材料星,专业的 AI 公文写作辅助平台,为体制内工作人员提供高效的公文写作解决方案。拥有海量公文文库、9 大核心 AI 功能,支持 30 + 文稿类型生成,助力快速完成领导讲话、工作总结、述职报告等材料,提升办公效率,是体制打工人的得力写作神器。

openai-agents-python

openai-agents-python

OpenAI Agents SDK,助力开发者便捷使用 OpenAI 相关功能。

openai-agents-python 是 OpenAI 推出的一款强大 Python SDK,它为开发者提供了与 OpenAI 模型交互的高效工具,支持工具调用、结果处理、追踪等功能,涵盖多种应用场景,如研究助手、财务研究等,能显著提升开发效率,让开发者更轻松地利用 OpenAI 的技术优势。

下拉加载更多