id: f96a7280d2d8467d96d939c94821203e
parent_id: 
item_type: 1
item_id: a6891e69599a47429be178355b4f870f
item_updated_time: 1764345639610
title_diff: "[{\"diffs\":[[1,\"如何结合gemini-cli使用？\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":17}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>如何结合gemini-cli使用？</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"content-class\\\" content=\\\"yinxiang.peso.superNote\\\"/>\\\r\\\n  <meta name=\\\"application-data:yinxiang.noteLayout\\\" content=\\\"{\\\"lineSpace\\\":\\\"recommend\\\",\\\"paragraphSpace\\\":\\\"recommend\\\"}\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"45472\\\"></a>\\\r\\\n<h1>如何结合gemini-cli使用？</h1>\\\r\\\n\\\r\\\n<div><span><div><br/></div><p><br/></p><div style=\\\"--en-blockquote:true;box-sizing: border-box; padding-left: 19px; padding-top: 6px; padding-bottom: 6px; border-left: 3px solid #b4c0cc; background-position: initial initial; background-repeat: initial initial; margin-top: 6px\\\"><div>原文链接: <a href=\\\"https://mp.weixin.qq.com/s?__biz=MzI5MjQzMDM0Ng==&amp;mid=2247483891&amp;idx=1&amp;sn=e5844ad7c21e314413403a86d343eb79&amp;chksm=ed363398f68428fca7804a6755e985b0ab9d695ece22c8da2c0f4c91e05bb1c96ab086f04755&amp;mpshare=1&amp;scene=1&amp;srcid=0806SbWTMNYTyAv02MwL1RoO&amp;sharer_shareinfo=0bd354a875a94339f35bbc2db3fa2fa4&amp;sharer_shareinfo_first=0bd354a875a94339f35bbc2db3fa2fa4#rd\\\" rev=\\\"en_rl_none\\\">https://mp.weixin.qq.com/s?__biz=MzI5MjQzMDM0Ng==&amp;mid=224748...</a></div></div><p><br/></p><div><br/></div><h1 style=\\\"other-props:eyJibG9ja0lkIjoiZlFzMVEtem1tdVYifQ==;\\\"> 如何结合gemini-cli使用？</h1><div>原创 A AI  硅基鸟人 </div><div><a href=\\\"https://mp.weixin.qq.com/s?__biz=MzI5MjQzMDM0Ng==&amp;mid=2247483886&amp;idx=1&amp;sn=3112ee16adc9eaf82d34277d14e2b1bf&amp;scene=21#wechat_redirect\\\" rev=\\\"en_rl_none\\\" target=\\\"_blank\\\"><span style=\\\"font-size: 14px;\\\">白嫖Gemini-Cli终极指南：多账号负载均衡方案</span></a></div><div><span style=\\\"font-size: 14px;\\\">上一篇提到了使用Gemini Balance进行多账号均衡。有些人私信问我搭建完如何部署到Gemini-Cli。这里简单说一下。</span></div><div><span style=\\\"font-size: 14px;\\\">教材来源于：https://github.com/snailyp/gemini-balance/pull/181</span></div><p style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:start;background-color:rgb(255, 255, 255);color:rgb(10, 10, 10);\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;\\\"><span style=\\\"color: rgb(10,10,10);\\\"><span style=\\\"font-weight: 400;\\\"> </span></span></span></span></p><img src=\\\":/91b13a11da2149f1b4153b68da94c2bc\\\" type=\\\"image/png\\\" data-filename=\\\"640.png\\\" style=\\\"--en-marks:%7B%22align%22%3A%22center%22%7D;--en-uploadstate:uploaded;\\\"/><p style=\\\"padding-left:40px;border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:justify;color:rgb(63, 63, 63);\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(63,63,63);\\\"><span style=\\\"font-weight: 400;\\\">下文示范如何在 </span></span><span style=\\\"color: rgb(15, 76, 129);\\\"><b><span style=\\\"font-weight: bold;\\\">Win 11 环境</span></b></span> 将开源 Balance 服务接入 Google Gemini CLI，实现私有化推理。其他系统可参考官方文档，流程大同小异。</span></span></p><h2 style=\\\"text-align:center;background-color:rgb(15, 76, 129);color:rgb(255, 255, 255);other-props:eyJibG9ja0lkIjoiVE5vZVItN1BsdDgifQ==;\\\"><span style=\\\"font-size: 18.2px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(255,255,255);\\\"><span style=\\\"font-weight: bold;\\\">1. 启动 Balance 服务</span></span></span></span></h2><div style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);\\\"><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:cTCQTOV1P4M;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\">uvicorn app.main:app --host 0.0.0.0 --port 19222 --reload</span></span></div><p style=\\\"padding-left:40px;border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:justify;color:rgb(63, 63, 63);\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63,63,63);\\\"><i>说明</i></span></span></span></p><ul><li><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">• 0.0.0.0 让容器对局域网可见。</span></span></span></div></li><li><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">• --reload 便于开发阶段自动热更新。</span></span></span></div></li></ul><h2 style=\\\"text-align:center;background-color:rgb(15, 76, 129);color:rgb(255, 255, 255);other-props:eyJibG9ja0lkIjoieHNxR1RLNktoY2cifQ==;\\\"><span style=\\\"font-size: 18.2px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(255,255,255);\\\"><span style=\\\"font-weight: bold;\\\">2. 配置 Gemini CLI 环境变量</span></span></span></span></h2><p style=\\\"padding-left:40px;border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:justify;color:rgb(63, 63, 63);\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(63,63,63);\\\">在 PowerShell 依次执行（注意等号两侧</span></span><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(15, 76, 129);\\\"><b><span style=\\\"font-weight: bold;\\\">不能有空格</span></b></span></span>）：</span></p><div style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);\\\"><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:yFChSeD7Lr8;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"># 告诉 Gemini CLI 代理地址\\\n$env:GOOGLE_GEMINI_BASE_URL = &quot;http://localhost:19222&quot;\\\n\\\n# 伪造 API Key（Balance 默认不校验）\\\n$env:GEMINI_API_KEY = &quot;sk-123456&quot;</span></span></div><p style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);color:rgb(63, 63, 63);\\\"><span style=\\\"font-size: 1em;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(63,63,63);\\\"><i>若使用 CMD，请改为</i></span></span></span></p><div style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);\\\"><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:Dla5SSmuL5g;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\">set GOOGLE_GEMINI_BASE_URL=http://localhost:19222\\\nset GEMINI_API_KEY=sk-123456</span></span></div><h2 style=\\\"text-align:center;background-color:rgb(15, 76, 129);color:rgb(255, 255, 255);other-props:eyJibG9ja0lkIjoicjB3R1MydXVTZjAifQ==;\\\"><span style=\\\"font-size: 18.2px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(255,255,255);\\\"><span style=\\\"font-weight: bold;\\\">3. 启动 Gemini CLI</span></span></span></span></h2><div style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);\\\"><br/></div><div style=\\\"--en-codeblock:true;--en-blockId:Yr7nQq-r6i8;--en-meta:{&quot;title&quot;:&quot;&quot;,&quot;lang&quot;:&quot;Plain Text&quot;,&quot;theme&quot;:&quot;default&quot;,&quot;showLine&quot;:true,&quot;lineWrap&quot;:true};box-sizing: border-box; padding: 8px; font-family: Monaco, Menlo, Consolas, &quot;Courier New&quot;, monospace; font-size: 12px; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902); background-position: initial initial; background-repeat: initial initial; margin-top: 6px;\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\">gemini\\\n# 或指定模型\\\ngemini -m gemini-2.5-flash</span></span></div><p style=\\\"padding-left:40px;border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:justify;color:rgb(63, 63, 63);\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(63,63,63);\\\">到此，即可像使用官方 Gemini 一样与本地服务交互。</span></span></span></p><h2 style=\\\"text-align:center;background-color:rgb(15, 76, 129);color:rgb(255, 255, 255);other-props:eyJibG9ja0lkIjoiWXd0QVR1NGtEcEoifQ==;\\\"><span style=\\\"font-size: 18.2px;\\\"><span style=\\\"font-family: -apple-system-font,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;\\\"><span style=\\\"color: rgb(255,255,255);\\\"><span style=\\\"font-weight: bold;\\\">4. 常见问题</span></span></span></span></h2><table style=\\\"--en-fitwindow:false;border-left:1px solid #d9d9d9;border-top:1px solid #d9d9d9;border-collapse:collapse;width:570px;\\\" width=\\\"570px\\\"><colgroup><col style=\\\"width: 190px;\\\"></col><col style=\\\"width: 190px;\\\"></col><col style=\\\"width: 190px;\\\"></col></colgroup><tbody><tr style=\\\"box-sizing:border-box; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(229, 229, 229); border-right-color:rgb(229, 229, 229); border-bottom-color:rgb(229, 229, 229); border-left-color:rgb(229, 229, 229);\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">症状</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">可能原因</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">解决办法</span></span></span></div></td></tr><tr style=\\\"box-sizing:border-box; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(229, 229, 229); border-right-color:rgb(229, 229, 229); border-bottom-color:rgb(229, 229, 229); border-left-color:rgb(229, 229, 229);\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">报错「Invalid API key」</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">环境变量书写有空格或未生效</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">重新设置，重开终端</span></span></span></div></td></tr><tr style=\\\"box-sizing:border-box; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(229, 229, 229); border-right-color:rgb(229, 229, 229); border-bottom-color:rgb(229, 229, 229); border-left-color:rgb(229, 229, 229);\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">无法连通</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">Balance 未启动或端口被占用</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">确认 19222 端口监听，或更换端口</span></span></span></div></td></tr><tr style=\\\"box-sizing:border-box; border-top-width:0px; border-right-width:0px; border-bottom-width:0px; border-left-width:0px; border-top-style:solid; border-right-style:solid; border-bottom-style:solid; border-left-style:solid; border-top-color:rgb(229, 229, 229); border-right-color:rgb(229, 229, 229); border-bottom-color:rgb(229, 229, 229); border-left-color:rgb(229, 229, 229);\\\"><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">想改模型列表</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">Balance 映射的是 OpenAI 兼容接口</span></span></span></div></td><td style=\\\"--en-typeInfo:{&quot;type&quot;:&quot;text&quot;,&quot;data&quot;:{}};border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9;padding:10px;text-align:left;\\\"><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">通过 </span></span></span><span style=\\\"font-size: 12.6px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(221, 17, 68);\\\">gemini -m </span></span></code></span>切换</div></td></tr></tbody></table><p style=\\\"padding-left:40px;border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:justify;color:rgb(63, 63, 63);\\\"><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63,63,63);\\\"><i>Tips</i></span></span></span></p><ul><li><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">• 建议将上述环境变量写入系统级变量，免去每次手动设置。</span></span></span></div></li><li><div><span style=\\\"font-size: 14px;\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(63, 63, 63);\\\">• Linux/macOS 可用 </span></span></span><span style=\\\"font-size: 12.6px;\\\"><code style=\\\"-en-code: true\\\"><span style=\\\"font-family: -apple-system-font, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Arial, sans-serif;\\\"><span style=\\\"color: rgb(221, 17, 68);\\\">export</span></span></code></span> 完成同样的配置。</div></li></ul><p style=\\\"border-top:0px solid rgb(229, 229, 229);border-bottom:0px solid rgb(229, 229, 229);text-align:start;background-color:rgb(255, 255, 255);color:rgb(10, 10, 10);\\\"><span style=\\\"font-size: 0;\\\"><span style=\\\"font-family: ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;\\\"><span style=\\\"color: rgb(10,10,10);\\\"><span style=\\\"font-weight: 400;\\\"> </span></span></span></span></p><div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":21523}]"
metadata_diff: {"new":{"id":"a6891e69599a47429be178355b4f870f","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348846659,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:33.534Z
created_time: 2025-11-28T21:04:33.534Z
type_: 13