腾讯云CodeBuddy对接完全指南:从安装配置到企业级集成实践

作者:袖梨 2026-07-25

腾讯云CodeBuddy完全对接指南:从安装配置到企业级集成实践

{"type":"doc","content":[{"type":"paragraph","attrs":{"id":"55daa65b-c024-4f9d-9d94-72d5ebf06e59","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"腾讯云CodeBuddy是一款基于腾讯云AI技术的智能编程工具,深度集成腾讯云生态,提供从代码编写到项目部署的全链路AI辅助。CodeBuddy同时支持IDE插件、独立IDE和CLI三种形态,覆盖从专业开发者到零基础用户的全场景需求。本文将从零开始,系统讲解CodeBuddy的对接使用方法,涵盖安装配置、API接入、第三方集成、部署对接等全流程操作。"}]},{"type":"paragraph","attrs":{"id":"dadc00ec-c7ca-49ea-8331-59668312608b","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"需要先登录腾讯云控制台,点击:"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/act/cps/redirect?redirect=37484&cps_key=c6c11b1aa9ecc74cc31e4c2c4c34cae9","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"腾讯云控制台"},{"type":"text","text":","}]},{"type":"heading","attrs":{"id":"ca377808-79ca-4394-9400-7d51b3668b8a","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"一、CodeBuddy产品形态与选型"}]},{"type":"paragraph","attrs":{"id":"e8ffa91c-9c8d-4bf6-b9c0-ec3b846bbd3f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy提供三种产品形态,开发者可根据自身场景选择:"}]},{"type":"paragraph","attrs":{"id":"5112fdb9-b67f-4a7b-8f06-94de5d2abf38","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"CodeBuddy插件版"},{"type":"text","text":":以插件形式安装到VS Code、JetBrains系列等IDE中,即插即用、零成本学习,适合日常编码开发者。插件版提供代码补全、错误修复、单元测试生成、代码审查等核心功能。"}]},{"type":"paragraph","attrs":{"id":"4fbf5cf8-c0aa-4bd6-b38c-ef781b4a83ae","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"CodeBuddy IDE"},{"type":"text","text":":独立的AI原生IDE,主打"对话即编程",将AI深度融入从需求规划、产品设计到代码研发、产品部署的全流程。适合产品经理、设计师、全栈开发者和编程初学者。"}]},{"type":"paragraph","attrs":{"id":"07c9cbc0-b881-4e32-bb4b-1a3595c434d0","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"CodeBuddy Code(CLI)"},{"type":"text","text":":面向专业工程师的AI命令行工具,支持在命令行中用自然语言驱动开发全流程,实现高度自动化。适合DevOps、运维、SRE及资深开发者。"}]},{"type":"heading","attrs":{"id":"30430c49-7a92-4638-bcac-b39daa6b156f","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"二、CodeBuddy插件安装与接入"}]},{"type":"heading","attrs":{"id":"e6eee0bb-18c2-41b8-8bc3-69741010c8d5","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.1 Visual Studio Code插件安装"}]},{"type":"paragraph","attrs":{"id":"7145b05d-5153-432a-b2c7-506a0119210b","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在VS Code中安装CodeBuddy插件最为便捷。打开VS Code,进入扩展市场(Extensions),搜索"腾讯云代码助手"或"CodeBuddy",点击安装即可。安装完成后,VS Code侧边栏会出现CodeBuddy图标,点击即可打开对话面板。"}]},{"type":"heading","attrs":{"id":"b57fed82-c1e1-42c5-8244-020a6f9cdc8b","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.2 JetBrains系列IDE插件安装"}]},{"type":"paragraph","attrs":{"id":"04206496-abe8-4919-b154-6fb5a99b5667","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在JetBrains系列IDE(如IntelliJ IDEA、PyCharm等)中,进入Settings → Plugins,搜索"Tencent Cloud CodeBuddy"或"腾讯云代码助手"进行安装。安装完成后重启IDE即可使用。"}]},{"type":"heading","attrs":{"id":"0a8be268-9452-4fc9-a3c1-c8d45bf06019","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.3 Visual Studio插件安装"}]},{"type":"paragraph","attrs":{"id":"afb970b2-fd58-4946-904f-a63c998a0247","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"Visual Studio用户可通过两种方式安装CodeBuddy插件:"}]},{"type":"paragraph","attrs":{"id":"77636be6-f227-4dee-bbb7-cddf46d83f2f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"方式一:手动下载安装包"},{"type":"text","text":"。访问Visual Studio市场,搜索"Tencent Cloud CodeBuddy"下载插件安装程序,双击运行安装。"}]},{"type":"paragraph","attrs":{"id":"c647fe74-06d4-45a5-9110-558b7c00c4b5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"方式二:IDE内安装"},{"type":"text","text":"。在Visual Studio顶部菜单栏中单击"扩展"→"管理扩展",搜索"腾讯云代码助手CodeBuddy",单击安装。关闭Visual Studio后,在弹出的VSIX Installer窗口中单击Modify执行下载。"}]},{"type":"paragraph","attrs":{"id":"94e6096b-0af4-4642-97f0-30fa42d5b09f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"Visual Studio最低版本要求17.6及以上。"}]},{"type":"heading","attrs":{"id":"e85af51d-6dbe-4c2b-a7f4-ce5fc2cb6843","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"2.4 插件登录"}]},{"type":"paragraph","attrs":{"id":"3dc10a69-0683-4d62-a04b-ffcc7be10e19","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"安装完成后,打开IDE即可看到CodeBuddy登录界面。使用腾讯云账号扫码或账号密码登录即可开始使用。"}]},{"type":"heading","attrs":{"id":"0eeb9545-b589-4b3d-b8e4-a4ad4f6ca99e","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"三、CodeBuddy CLI安装与配置"}]},{"type":"heading","attrs":{"id":"7355bd88-2e73-41a5-b222-f71dbb7f6e78","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.1 安装CodeBuddy CLI"}]},{"type":"paragraph","attrs":{"id":"864c1b1b-14a0-4070-9d4e-508f2845d63f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy CLI(即CodeBuddy Code)可通过npm全局安装:"}]},{"type":"codeBlock","attrs":{"id":"15ba5d8f-8e20-488e-9a7b-738cd0cfbff0","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"npm install -g @tencent-ai/codebuddy-code"}]},{"type":"paragraph","attrs":{"id":"e9a9e833-349c-415b-85bc-33df14314cb5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"安装前请确保本地已安装Node.js 18.0及以上版本。"}]},{"type":"heading","attrs":{"id":"8c3bcd82-0637-4300-a2d5-0213de78ad3c","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.2 获取API Key"}]},{"type":"paragraph","attrs":{"id":"1ee7ba64-4e8e-4ae5-9636-6ae302c38be5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"使用CodeBuddy CLI需要配置API Key进行身份认证:"}]},{"type":"orderedList","attrs":{"id":"d0eada99-85e5-4260-aa3c-f34f7e4847d8","start":1,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"35089023-1e50-42d3-9210-6f3a55ff6f4b"},"content":[{"type":"paragraph","attrs":{"id":"b66326b7-e42b-4618-8816-5fbda1c57f89","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入腾讯云TokenHub的"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://console.cloud.tencent.com/tokenhub/apikey","target":"_blank","rel":"noopener noreferrer nofollow","class":null}}],"text":"API Key管理"},{"type":"text","text":"页面"}]}]},{"type":"listItem","attrs":{"id":"db728a9d-8d5c-47ef-824f-d0400107823d"},"content":[{"type":"paragraph","attrs":{"id":"30dcae99-32e8-4f56-be26-77d342a8843f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"单击"创建API Key""}]}]},{"type":"listItem","attrs":{"id":"20479362-0696-4026-9c61-afb5280b5aad"},"content":[{"type":"paragraph","attrs":{"id":"b06a63d9-eba4-4062-868d-4febf41c90b1","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"设置可访问范围时,如需使用特定模型请确保勾选对应模型"}]}]},{"type":"listItem","attrs":{"id":"0d70e321-ab86-4552-a06e-51ec95b12dc5"},"content":[{"type":"paragraph","attrs":{"id":"70d36b27-3d67-47a6-aa3b-1b8f292f4259","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"创建完成后复制并妥善保管API Key"}]}]}]},{"type":"heading","attrs":{"id":"4dc11078-d143-4efa-aa23-848c0e832a92","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.3 配置模型文件"}]},{"type":"paragraph","attrs":{"id":"5f61e4d9-a826-4eac-be26-6f36092b63bb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"找到CodeBuddy Code的配置文件`models.json`,配置文件路径如下:"}]},{"type":"bulletList","attrs":{"id":"c072f77e-a911-48e1-ab78-9eaf2a1fe07f","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"ae961063-11f4-447c-990d-c2eb6bfedfc5"},"content":[{"type":"paragraph","attrs":{"id":"dd45fefd-cac6-4076-8fac-cbaf20f3114f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"Windows:`C:Users<用户名>.codebuddymodels.json`"}]}]},{"type":"listItem","attrs":{"id":"4375adeb-dd6e-4150-ae0b-327fbed892bc"},"content":[{"type":"paragraph","attrs":{"id":"bd2a36ce-f2b5-4342-be34-7ab3de6f8945","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"macOS/Linux:`~/.codebuddy/models.json`"}]}]}]},{"type":"paragraph","attrs":{"id":"f192fdf9-5224-4b81-89c2-24fe6cc85593","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置文件不存在时新建即可。以下是配置Hy3 preview模型的示例:"}]},{"type":"codeBlock","attrs":{"id":"bc704e3c-089e-4a1c-87ed-afe7f728a5fe","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"{n"models": [n{n"id": "hy3-preview",n"name": "hy3-preview",n"vendor": "Tencent Cloud",n"apiKey": "",n"url": "https://tokenhub.tencentmaas.com/v1"n}n],n"availableModels": ["hy3-preview"]n}"}]},{"type":"paragraph","attrs":{"id":"02e33931-86ea-4fe5-a626-2585808d718a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"将``替换为实际获取的API Key字符串。如`models.json`已存在,只需在`models`和`availableModels`中追加新模型配置即可。"}]},{"type":"heading","attrs":{"id":"b121f160-d6fd-4ef7-9c65-1fe3b942412b","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"3.4 启动CodeBuddy CLI"}]},{"type":"paragraph","attrs":{"id":"ce2ceadc-58e5-4cf0-a023-acc352efec4b","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置完成后执行以下命令启动:"}]},{"type":"codeBlock","attrs":{"id":"91ef8993-f7a4-4f50-bc1f-9f9c08e9eb35","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"codebuddy"}]},{"type":"paragraph","attrs":{"id":"0bd25733-abbc-40b1-8d24-3782285ae2cd","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"首次启动时会弹出信任文件选择界面,询问是否信任当前工作目录下的项目文件:"}]},{"type":"bulletList","attrs":{"id":"67fda64a-f5e4-4775-8839-7cf4e518bc48","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"577097fe-e73d-46b2-ad2b-7b35780cf83c"},"content":[{"type":"paragraph","attrs":{"id":"f48710b7-643d-4cec-b9f5-b8a47f7596a0","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"Yes, proceed(推荐)"},{"type":"text","text":":信任当前目录所有文件时选择此项,CodeBuddy Code才能读写项目文件、执行命令辅助开发"}]}]},{"type":"listItem","attrs":{"id":"27047a96-5e06-4c93-9ca7-f804eb7d5a9e"},"content":[{"type":"paragraph","attrs":{"id":"2dee47eb-6de4-45c5-a89b-8398eeb54db8","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"No, exit"},{"type":"text","text":":当前目录包含不信任或来源不明的代码时选择此项,工具将退出以确保安全"}]}]}]},{"type":"paragraph","attrs":{"id":"337ae00d-d3bf-4e08-9876-3e8538761e89","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"启动后会显示登录方式选择界面:"}]},{"type":"bulletList","attrs":{"id":"75be5ad6-dbdd-432e-b34c-3bce1fd06c6e","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"57857247-1f35-41bf-b642-2e55bb033a41"},"content":[{"type":"paragraph","attrs":{"id":"35251718-813a-4972-bdf7-4e559c109c55","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"Chinese Site"},{"type":"text","text":":中国站用户,通过腾讯云中国站进行认证"}]}]},{"type":"listItem","attrs":{"id":"7feebd63-6414-41df-bb26-ada56a78f541"},"content":[{"type":"paragraph","attrs":{"id":"5abc4b3d-8d53-41a6-b3b1-329b16538b2d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"International Site"},{"type":"text","text":":国际站用户,通过腾讯云国际站进行认证"}]}]},{"type":"listItem","attrs":{"id":"15dd35e0-3c78-4ce0-b959-b75895faac74"},"content":[{"type":"paragraph","attrs":{"id":"31309337-ecc4-4a99-93d8-577c8a1c2ef8","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"Enterprise Domain"},{"type":"text","text":":专享版/私有化部署用户,需输入企业服务地址"}]}]},{"type":"listItem","attrs":{"id":"8ebcfb35-4fd5-4e20-8271-e23539fb568b"},"content":[{"type":"paragraph","attrs":{"id":"f0c205bc-d239-4337-9260-d2af45d2a8f2","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"iOA"},{"type":"text","text":":腾讯内部员工专用"}]}]}]},{"type":"paragraph","attrs":{"id":"9fb78371-0eed-4c75-aa90-88a1857de022","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"选择登录方式后会自动打开浏览器完成认证。认证成功后返回命令行界面,输入`/model`即可进入模型选择列表,选择配置的模型开始使用。"}]},{"type":"heading","attrs":{"id":"b82f9f25-e6d2-4034-8298-01560460ee4a","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"四、CodeBuddy IDE使用指南"}]},{"type":"heading","attrs":{"id":"a8957819-f683-48f9-9d41-de4f38060005","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.1 打开或创建项目"}]},{"type":"paragraph","attrs":{"id":"9910770a-4657-4f5d-adc3-6eadca8c95cb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy IDE支持三种方式打开项目:新建文件夹、打开已有文件夹、克隆远程Git仓库。"}]},{"type":"heading","attrs":{"id":"949dd731-cb41-4a1f-b5f6-91f46f1c327c","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.2 Craft与Chat双模式"}]},{"type":"paragraph","attrs":{"id":"99146fb8-5ace-4ae4-8224-c64e64a49f6c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy IDE提供了侧栏对话功能,支持Craft和Chat两种模式:"}]},{"type":"paragraph","attrs":{"id":"95463669-c39a-4d9d-99b8-a8b2a07cb78a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"Chat模式"},{"type":"text","text":":通过自然语言进行技术对话,询问编程技术问题,支持多轮追问和上下文感知。适合日常开发中的技术咨询、代码解释、问题排查等场景。"}]},{"type":"paragraph","attrs":{"id":"2f4428c3-17f1-4aed-a3c3-e02114ecd6d9","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"Craft模式"},{"type":"text","text":":不再是一个对话聊天机器人,而是一个具有"独立思考"和"自主执行"的编程伙伴。支持通过自然语言描述项目需求,Agent即可生成完整工程代码与多文件实现。支持Plan Mode,开启后Agent将根据项目需求进行任务拆解、制定开发计划并澄清需求。端到端覆盖需求→原型→代码,适合从零启动新项目。"}]},{"type":"heading","attrs":{"id":"12648831-49b7-4bdb-81e1-dd75fced46c7","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.3 多模型支持"}]},{"type":"paragraph","attrs":{"id":"2ee1b1d6-3920-4d92-a6ee-f681b0a3e621","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy IDE内置了多种模型供用户切换,包括Default(Hunyuan)、DeepSeek-V3.1、DeepSeek-0324等。开发者可根据任务类型选择最适合的模型。"}]},{"type":"heading","attrs":{"id":"c3c5596a-9bb7-4426-b327-0540709fba36","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"4.4 添加上下文"}]},{"type":"paragraph","attrs":{"id":"1b6cd74e-1d3d-4862-ba2d-41aa71c146d9","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy IDE支持多种方式添加上下文以提升AI回答的准确性:"}]},{"type":"bulletList","attrs":{"id":"843618b9-5f66-43d8-aeb1-2441973946a9","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"af889ace-1409-4a75-9ae1-c268382635c3"},"content":[{"type":"paragraph","attrs":{"id":"9d52c38a-fc6c-492f-815c-9d3e94bb2547","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"添加图片"},{"type":"text","text":":通过Ctrl V截图粘贴作为上下文"}]}]},{"type":"listItem","attrs":{"id":"822b832f-668f-4c9b-831e-0b55f22a7fa5"},"content":[{"type":"paragraph","attrs":{"id":"61a23cf5-d148-4160-a4b1-176072c66d8e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"添加代码块"},{"type":"text","text":":圈选代码后右键选择"Add To Chat""}]}]},{"type":"listItem","attrs":{"id":"15c1f6c9-cbf2-4ce8-9ed3-9ac590bb94e3"},"content":[{"type":"paragraph","attrs":{"id":"58ca8999-458e-4527-bd53-1000cd9afb67","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"添加文件或目录"},{"type":"text","text":":在文件树中右键文件或目录,选择"Add File CodeBuddy""}]}]},{"type":"listItem","attrs":{"id":"587ed796-c96d-4eb3-923a-fab8e2aa9479"},"content":[{"type":"paragraph","attrs":{"id":"c3400ac3-65b1-4700-b5b3-58b14cb2daa4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"添加终端报错"},{"type":"text","text":":在底部面板中将问题或终端报错添加给CodeBuddy"}]}]},{"type":"listItem","attrs":{"id":"93716a1b-0e12-49b4-9d2c-5ef31d097f71"},"content":[{"type":"paragraph","attrs":{"id":"26c92502-97c6-4766-a342-d6b4c883d30c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"@引用上下文"},{"type":"text","text":":使用@符号引用文件、文件夹、Git提交、知识库、Rules等"}]}]}]},{"type":"heading","attrs":{"id":"b8f4a61c-d395-4ba2-9e27-05c6431ac68f","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"五、第三方开发集成与企业级对接"}]},{"type":"paragraph","attrs":{"id":"b6f4fe99-8c9a-40ec-a917-b3b518b4c59f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy专享版和企业版支持配置第三方开发集成,可通过开发第三方服务的方式对接其他身份管理平台。CodeBuddy旗舰版使用腾讯统一身份进行登录认证管理。"}]},{"type":"heading","attrs":{"id":"c9ccbdf5-6fb7-4b27-a184-f2e2c204c5bf","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"5.1 第三方服务开发"}]},{"type":"paragraph","attrs":{"id":"bd768163-b6da-4c76-a708-5ab804fdff6d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"开发者需按照CodeBuddy提供的接口规范开发第三方组织架构服务。Custom Provider通过HTTP袋里对接外部组织架构服务,组织服务需实现一组固定的REST接口,返回符合约定的数据结构。"}]},{"type":"paragraph","attrs":{"id":"5ef70e5a-7b7f-45f4-a0a1-7dcd57a40606","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置项示例:"}]},{"type":"codeBlock","attrs":{"id":"24b0baa0-e1f0-4f81-aa74-10107010ef01","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"{n"name": "custom-org",n"base_url": "https://example.com",n"enterprise_id": "ent-xxx",n"timeout_seconds": 15,n"auth_header": "Authorization",n"auth_token": "token-value",n"bearer_token": true,n"extra_headers": {n"X-From": "org-service"n},n"account_id_header": "X-Account-Id",n"account_id_query": "account_id",n"success_code": 0,n"config_header": "X-Custom-Config"n}"}]},{"type":"paragraph","attrs":{"id":"7ee9b405-1f11-409a-afe1-0ea22574df9a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"字段说明:"}]},{"type":"bulletList","attrs":{"id":"1aa05c6f-66f6-4b51-a83a-6c222c531bf0","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"5636a295-fb44-49b8-be57-a6eed845a1d3"},"content":[{"type":"paragraph","attrs":{"id":"a50cf11f-4223-4066-af2a-7099c63ac9a6","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"base_url"},{"type":"text","text":":必填,自定义组织服务的根地址"}]}]},{"type":"listItem","attrs":{"id":"3262f4a7-1205-48a2-b886-6458a9b0728a"},"content":[{"type":"paragraph","attrs":{"id":"451f976b-28ed-48c5-b46d-f5c055120c52","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"enterprise_id"},{"type":"text","text":":默认作为查询参数附加"}]}]},{"type":"listItem","attrs":{"id":"2b9030b0-879b-442b-8235-6654f7469ac6"},"content":[{"type":"paragraph","attrs":{"id":"f818a8dc-8193-412b-a76b-a5160139bdac","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"timeout_seconds"},{"type":"text","text":":请求超时,默认15秒"}]}]},{"type":"listItem","attrs":{"id":"b790567c-1775-47bb-abad-f21c881e5ae1"},"content":[{"type":"paragraph","attrs":{"id":"8344f3c3-ab24-4349-acee-5933cdc1b398","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"auth_token"},{"type":"text","text":":鉴权token,发送Authorization: Bearer "}]}]},{"type":"listItem","attrs":{"id":"7dee88d7-b3c9-4e47-b02b-a0c02f51fda0"},"content":[{"type":"paragraph","attrs":{"id":"8dc9b0d5-9cf6-4f12-ad4b-5cb23658e9f1","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"extra_headers"},{"type":"text","text":":附加到所有请求的额外请求头"}]}]},{"type":"listItem","attrs":{"id":"fe2f992f-178f-4ed9-8e09-9c469d8af5f5"},"content":[{"type":"paragraph","attrs":{"id":"0374160a-d574-46f9-b23f-f4db2b423ae7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"account_id_header"},{"type":"text","text":":将AccountID放入该请求头"}]}]},{"type":"listItem","attrs":{"id":"16924371-d844-4e26-9de5-6855e55361f4"},"content":[{"type":"paragraph","attrs":{"id":"7bf8f1f3-7204-44fc-8d46-1fa30b5bc953","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"account_id_query"},{"type":"text","text":":将AccountID作为该查询参数"}]}]},{"type":"listItem","attrs":{"id":"30831a6b-0d4f-4e6d-bd7f-fcb7f1ff9cfe"},"content":[{"type":"paragraph","attrs":{"id":"29268aa2-d31c-432b-affb-832bccf79b59","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"success_code"},{"type":"text","text":":响应包装code成功值,默认0"}]}]}]},{"type":"heading","attrs":{"id":"cf8c3320-cba8-4dae-85cd-746fd968cb9b","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"5.2 启用第三方集成"}]},{"type":"paragraph","attrs":{"id":"bc93b336-cafb-47e8-a0e4-68fa0ed33e36","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入企业域名后台`<企业id>.copilot.qq.com/admin`,选择"开放与集成"→"组织架构同步",单击任意第三方系统。根据页面提示输入上游系统名称、服务域名、token信息,配置关联规则(支持根据用户ID、邮箱、手机号匹配),选择完成后提交即可。"}]},{"type":"heading","attrs":{"id":"6e36945e-1861-427f-95bd-3ce8903fbe4f","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"5.3 效果验证"}]},{"type":"paragraph","attrs":{"id":"281709dd-1343-4e22-9196-e5454473736d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置完成后,在"开放与集成"→"组织架构同步"页面可以看到从第三方服务获取到的组织架构和人员信息。单击"手动关联"即可将成员从第三方服务同步至CodeBuddy。"}]},{"type":"heading","attrs":{"id":"4887c482-a5d5-4c49-ae00-6bf734d5dd1a","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"六、部署对接与集成"}]},{"type":"heading","attrs":{"id":"6baa137d-1987-4ca2-a47e-638db6a67555","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"6.1 EdgeOne Makers部署对接"}]},{"type":"paragraph","attrs":{"id":"b96d557b-fff4-4b9a-94c6-0e4c7dbb574b","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy IDE支持集成EdgeOne Makers的快速部署能力,在开发过程中实现一键构建并部署至Makers。操作步骤:"}]},{"type":"orderedList","attrs":{"id":"aab6f4d1-1bb6-49fd-86f4-fbe02cec7f61","start":1,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"c816c0ad-1eee-4c8f-a25f-6488cc20684e"},"content":[{"type":"paragraph","attrs":{"id":"518340df-8f9c-4ffe-90d6-ed7b86be80f5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在CodeBuddy IDE中单击Deploy按钮"}]}]},{"type":"listItem","attrs":{"id":"96227807-2865-49ad-9e37-a8ba2772e3a6"},"content":[{"type":"paragraph","attrs":{"id":"a768d77a-3e1e-492c-9601-033f80dad32e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"选择EdgeOne Makers进行连接"}]}]},{"type":"listItem","attrs":{"id":"4619a084-0c24-4b65-8b12-5e4015b0aab8"},"content":[{"type":"paragraph","attrs":{"id":"9c2c6e25-79ff-41d0-823a-ad1e810eee9a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"单击Manage进入腾讯云,登录账号进行授权"}]}]}]},{"type":"paragraph","attrs":{"id":"2062fc10-b476-4e1a-9305-33ae57dcd930","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"建议配置EdgeOne Makers Rules(pages-llms.mdc),让AI懂得如何编写更符合Makers规范的代码。部署完成后可在CodeBuddy中查看部署情况、获取预览地址,也可访问腾讯云控制台进一步管理项目。"}]},{"type":"heading","attrs":{"id":"b99395f1-e66e-4782-b9ae-5182097af6b5","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"6.2 CloudBase后端集成"}]},{"type":"paragraph","attrs":{"id":"75af968d-7e29-4188-839f-ac71df3f195a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy集成了Supabase和腾讯云开发CloudBase后端服务,无需手动配置数据库、认证等后端服务即可获得可运行的后端环境。CodeBuddy IDE已内置集成CloudBase MCP,建议优先使用配置集成方式。"}]},{"type":"heading","attrs":{"id":"133c5a97-abb5-4838-8d0b-029477649fec","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"七、高级功能与自定义配置"}]},{"type":"heading","attrs":{"id":"057b37ce-c371-4c14-8158-b5bea5becb92","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"7.1 MCP协议扩展"}]},{"type":"paragraph","attrs":{"id":"3093891c-11b8-44c2-80ae-3eb88af54a39","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy支持MCP(Model Context Protocol)协议,可通过配置文件声明外部服务。例如声明数据库服务:"}]},{"type":"codeBlock","attrs":{"id":"faf300fd-8634-44ef-a4b7-896338aae866","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"{n"services": {n"database": {n"command": "npx",n"args": ["@modelcontextprotocol/server-database", "mongodb://localhost:27017/mydb"]n}n}n}"}]},{"type":"paragraph","attrs":{"id":"c13afc93-d16b-4e47-938e-5585041984e9","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"利用CodeBuddy的MCP Server可一键生成Dockerfile并部署至腾讯云等平台。"}]},{"type":"heading","attrs":{"id":"8d0b6247-ea61-4584-878c-209a48334d11","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"7.2 自定义Rules规则"}]},{"type":"paragraph","attrs":{"id":"42c1c60b-10b2-41ca-8e27-99ecb57bbdbe","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在Rules文件中可自定义项目规则,如项目规范、框架约定、库使用规则、编码安全要求等。这些规则在定义好后会在当前项目中生效,每次启动或重载项目时自动扫描并加载`.codeBuddy/rules`目录下的Rules文件。"}]},{"type":"paragraph","attrs":{"id":"aea8fb10-54cc-40f1-8a53-a373dfc2ae91","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"最佳实践建议:规则应聚焦、可操作、范围清晰,每条规则保持在500行以内,可将大规则拆分为多个可组合的小规则。"}]},{"type":"heading","attrs":{"id":"8ecb5802-4496-43a3-893f-865578416cfc","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"7.3 代码质量保障"}]},{"type":"paragraph","attrs":{"id":"16248d87-218b-4e76-ad54-72f2ef4bf246","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy提供智能审查与静态分析功能,可自动检测代码风格违规、潜在Bug(空指针、资源泄漏)、安全漏洞(SQL注入、XSS)等问题。例如代码中存在`SELECT * FROM users`时,CodeBuddy会提示"建议使用参数化查询防止SQL注入"。"}]},{"type":"paragraph","attrs":{"id":"aa98da8b-f449-4fd4-a536-dd3ce7e0c636","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"单元测试生成功能:右键方法选择Generate Unit Test,自动生成JUnit/Mockito测试模板,覆盖边界条件与异常场景。"}]},{"type":"heading","attrs":{"id":"2e34836c-72d6-4b2d-be4b-2cc6d36be9c2","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"八、最佳实践"}]},{"type":"paragraph","attrs":{"id":"14d98317-a044-401b-9620-ddef1ccf62bd","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"CodeBuddy的最佳实践可归纳为"精准需求、分步开发、严格审查、团队协同"。开发者需善用其智能补全与生成能力,同时保持对核心逻辑的掌控。"}]},{"type":"heading","attrs":{"id":"e9b124b5-794d-4838-b6e7-3cf3569894ff","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"8.1 精准描述需求"}]},{"type":"paragraph","attrs":{"id":"b58ef822-7969-43e7-a74d-b7ddfaff1da4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"向CodeBuddy提供功能需求、技术栈、输入/输出示例。例如:"用React TypeScript开发一个动态表单生成器,支持字段类型扩展,要求代码包含校验逻辑和API调用示例。"避免模糊指令如"写一个表单"。"}]},{"type":"heading","attrs":{"id":"46d595da-2d5a-4f2b-afc5-843ab1ee2939","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"8.2 分步骤迭代"}]},{"type":"paragraph","attrs":{"id":"ceea3132-83ed-4ad4-89d7-7586630ef1f4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"分阶段生成代码:"}]},{"type":"orderedList","attrs":{"id":"d9c8b153-eb49-484f-bff3-908a547947a0","start":1,"isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"7106a10e-e8b7-46ae-b034-e87450b0f3dc"},"content":[{"type":"paragraph","attrs":{"id":"25121f6a-68da-4510-8566-6f9da3445982","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"先生成核心逻辑(如表单校验函数)"}]}]},{"type":"listItem","attrs":{"id":"00a03790-bd97-40c5-9554-c206368d60b3"},"content":[{"type":"paragraph","attrs":{"id":"e3d18b27-aee2-45e7-aac6-9cd0a514b0a4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"逐步扩展UI组件和状态管理"}]}]},{"type":"listItem","attrs":{"id":"f271a100-e79d-4970-974a-a1833532603b"},"content":[{"type":"paragraph","attrs":{"id":"164586eb-5cba-49da-890c-d167816a6a36","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"最后整合API调用与错误处理"}]}]}]},{"type":"heading","attrs":{"id":"9baf40e9-2b11-4a19-a616-a401d626305a","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"8.3 团队协作规范"}]},{"type":"paragraph","attrs":{"id":"49e9e1d9-cd64-4218-a169-f0daf81922cf","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在`.codebuddyrc`中定义团队规范:"}]},{"type":"codeBlock","attrs":{"id":"3e29ffae-47bc-4260-908e-45f3c6f2a9bf","language":"javascript","theme":"atom-one-dark","runtimes":0,"isHoverDragHandle":false,"key":"","languageByAi":"javascript"},"content":[{"type":"text","text":"{n"indentation": "2 spaces",n"naming_convention": "camelCase",n"prohibit": ["var", "eval"]n}"}]},{"type":"paragraph","attrs":{"id":"0dec7ac3-d250-4d2a-8d8e-5f563511a99a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"企业知识库集成:上传项目文档、API手册至CodeBuddy,通过自然语言查询获取上下文帮助。"}]},{"type":"heading","attrs":{"id":"d825c354-a533-4673-ab5b-9c5dc54af5a4","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"九、常见问题"}]},{"type":"paragraph","attrs":{"id":"f6a5a73f-f8b3-48d8-a583-cb2f5a8a460f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"问:CodeBuddy支持哪些IDE?"},{"type":"hardBreak","attrs":{"id":"1e7628f3-b6e3-4d6b-9d00-abcfd04a8c85"}},{"type":"text","text":"CodeBuddy插件支持VS Code、JetBrains系列(IntelliJ IDEA、PyCharm等)、Visual Studio(17.6及以上版本)等主流IDE。"}]},{"type":"paragraph","attrs":{"id":"07dbeab2-a52b-42aa-a87c-2adf9db20c20","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"问:CodeBuddy目前是否免费?"},{"type":"hardBreak","attrs":{"id":"db6d74a8-0c4b-4b8a-ade3-0c7effd23e0a"}},{"type":"text","text":"目前CodeBuddy可以免费使用。具体计费政策请以腾讯云官方公告为准。"}]},{"type":"paragraph","attrs":{"id":"c740a49a-26e5-4df4-be76-f12af709fed4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"问:CodeBuddy支持哪些编程语言?"},{"type":"hardBreak","attrs":{"id":"89b484d5-eaf2-4dc8-a2e9-01ecd52d20cc"}},{"type":"text","text":"CodeBuddy理论上不限制任何类型的代码语言。支持前端(HTML、JavaScript、CSS、Vue、React等)、后端(Node.js、Python、Java、C#、Ruby、PHP等)、客户端(Java、Kotlin、Swift等)以及C 、Go、Rust、TypeScript等。"}]},{"type":"paragraph","attrs":{"id":"0b7329a1-4977-469b-bf7a-ad232924a89c","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"问:CodeBuddy CLI的模型配置文件在哪里?"},{"type":"hardBreak","attrs":{"id":"544adb07-2d2f-463e-ac92-3ef309d48d19"}},{"type":"text","text":"Windows系统在`C:Users<用户名>.codebuddymodels.json`,macOS/Linux系统在`~/.codebuddy/models.json`。"}]},{"type":"paragraph","attrs":{"id":"a8a909d3-820e-4d51-9079-4b4c286e34a7","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"问:如何将CodeBuddy与企业身份管理系统对接?"},{"type":"hardBreak","attrs":{"id":"3cb1368f-9ad9-49ef-9ac0-3d4e4bf52d68"}},{"type":"text","text":"CodeBuddy专享版和企业版支持第三方开发集成,需开发符合接口规范的组织架构服务,然后进入企业后台配置上游系统名称、服务域名、token信息及关联规则。旗舰版使用腾讯统一身份进行登录认证管理。"}]},{"type":"paragraph","attrs":{"id":"9a5d1f4c-1ce0-48af-abeb-155a919706ed","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"问:Craft模式和Chat模式有什么区别?"},{"type":"hardBreak","attrs":{"id":"05690c3d-1e6f-4da2-8c0f-bc634fee3150"}},{"type":"text","text":"Chat模式是技术对话工具,适合日常技术咨询和代码解释。Craft模式是具有独立思考和自主执行的编程伙伴,可通过自然语言描述项目需求自动生成完整工程代码,支持Plan Mode进行任务拆解,适合从零启动新项目。"}]}]}","createTime":1782130681,"ext":{"closeTextLink":0,"comment_ban":0,"description":"","focusRead":0},"favNum":0,"html":"","isOriginal":0,"likeNum":0,

相关文章

精彩推荐