[{"data":1,"prerenderedAt":239},["ShallowReactive",2],{"navigation":3,"/codex/web":112,"/codex/web-surround":234},[4,18,57,71,89,98],{"title":5,"path":6,"stem":7,"children":8,"icon":17},"快速开始","/getting-started","1.getting-started/1.index",[9,12],{"title":10,"path":6,"stem":7,"icon":11},"使用伊莉思Code","i-lucide-house",{"title":13,"path":14,"stem":15,"icon":16},"安装Node.js 和 Git","/getting-started/installation","1.getting-started/2.installation","streamline-ultimate:nodesj-logo-bold",false,{"title":19,"path":20,"stem":21,"children":22,"page":17},"Codex 配置文档","/codex","3.codex",[23,28,33,38,43,48,53],{"title":24,"path":25,"stem":26,"icon":27},"安装Codex CLI","/codex/install","3.codex/1.install","hugeicons:chat-gpt",{"title":29,"path":30,"stem":31,"icon":32},"安装 IDE 插件","/codex/plugin","3.codex/2.Plugin","mingcute:plugin-2-fill",{"title":34,"path":35,"stem":36,"icon":37},"Codex App桌面端","/codex/app","3.codex/4.app","meteor-icons:app-store",{"title":39,"path":40,"stem":41,"icon":42},"Codex配置/使用","/codex/model","3.codex/5.model","carbon:model-alt",{"title":44,"path":45,"stem":46,"icon":47},"其他错误","/codex/info","3.codex/7.info","i-lucide-info",{"title":49,"path":50,"stem":51,"icon":52},"网络与代理","/codex/web","3.codex/8.web","mdi:web-check",{"title":54,"path":55,"stem":56,"icon":42},"Codex模型测试","/codex/test","3.codex/9.test",{"title":58,"path":59,"stem":60,"children":61,"page":17},"OpenCode 配置文档","/opencode","5.opencode",[62,67],{"title":63,"path":64,"stem":65,"icon":66},"安装OpenCode","/opencode/install","5.opencode/1.install","solar:code-square-bold",{"title":68,"path":69,"stem":70,"icon":66},"配置模型","/opencode/codex","5.opencode/2.连接Codex模型",{"title":72,"path":73,"stem":74,"children":75,"page":17},"Claude Code 配置文档","/claude","7.claude",[76,81,85],{"title":77,"path":78,"stem":79,"icon":80},"安装Claude CLI","/claude/install","7.claude/1.install","material-icon-theme:claude",{"title":82,"path":83,"stem":84,"icon":32},"插件配置","/claude/plugin","7.claude/2.Plugin",{"title":86,"path":87,"stem":88,"icon":42},"模型配置","/claude/model","7.claude/3.model",{"title":90,"path":91,"stem":92,"children":93,"page":17},"常见问题","/question","8.question",[94],{"title":95,"path":96,"stem":97,"icon":47},"通用问题","/question/question","8.question/1.Question",{"title":99,"path":100,"stem":101,"children":102,"page":17},"扩展 Skills和MCP","/skillsandmcp","9.skills&mcp",[103,108],{"title":104,"path":105,"stem":106,"icon":107},"chrome-devtools-mcp","/skillsandmcp/chromemcp","9.skills&mcp/1.ChromeMCP","octicon:mcp-16",{"title":109,"path":110,"stem":111,"icon":107},"Skills 推荐","/skillsandmcp/skills","9.skills&mcp/skills",{"id":113,"title":49,"body":114,"description":227,"extension":228,"links":229,"meta":230,"navigation":231,"path":50,"seo":232,"stem":51,"__hash__":233},"docs/3.codex/8.web.md",{"type":115,"value":116,"toc":223},"minimark",[117,121,126,137,140,143,146,156,167,170,174,180,216,219],[118,119,120],"p",{},"本章节介绍 Codex 系列客户端在网络和代理方面的常见问题和解决方法。",[122,123,125],"h3",{"id":124},"网络问题-stream-disconnected","网络问题 stream disconnected",[118,127,128,132,133,136],{},[129,130,131],"code",{},"error decoding response body"," 或者经常 ",[129,134,135],{},"stream disconnected "," 是代理或网络不稳定导致的传输错误",[118,138,139],{},"首先请检查您的网络连接，确保能够访问外部网络服务。",[118,141,142],{},"尝试以下解决办法方法：",[118,144,145],{},"1, 直接关掉代理，如果必须使用代理，确保代理设置正确。",[118,147,148,149,155],{},"2, 加入规则名单 ",[150,151,152],"a",{"href":152,"rel":153},"https://code.ylsagi.com",[154],"nofollow"," 不走代理",[118,157,158,159,162,163],{},"3, 如果必须走代理：修改配置文件 ",[129,160,161],{},"config.toml"," 中的 base_url 改成 ",[150,164,165],{"href":165,"rel":166},"https://ylscode.com/codex",[154],[168,169],"hr",{},[122,171,173],{"id":172},"codex-使用指定的代理配置","Codex 使用指定的代理配置",[118,175,176,177],{},"配置 Codex 客户端使用指定的代理网络，需要创建或修改配置文件 ",[129,178,179],{},"~/.codex/.env",[181,182,188],"pre",{"className":183,"code":184,"filename":185,"language":186,"meta":187,"style":187},"language-env shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","https_proxy=\"http://127.0.0.1:7000\" \nhttp_proxy=\"http://127.0.0.1:7000\"\nall_proxy=\"socks5://127.0.0.1:7000\"\nNO_PROXY=\"localhost,127.0.0.1\"\n",".env","env","",[129,189,190,198,204,210],{"__ignoreMap":187},[191,192,195],"span",{"class":193,"line":194},"line",1,[191,196,197],{},"https_proxy=\"http://127.0.0.1:7000\" \n",[191,199,201],{"class":193,"line":200},2,[191,202,203],{},"http_proxy=\"http://127.0.0.1:7000\"\n",[191,205,207],{"class":193,"line":206},3,[191,208,209],{},"all_proxy=\"socks5://127.0.0.1:7000\"\n",[191,211,213],{"class":193,"line":212},4,[191,214,215],{},"NO_PROXY=\"localhost,127.0.0.1\"\n",[118,217,218],{},"根据您的代理类型和地址修改对应的端口，保存后重新打开 Codex 即可生效。",[220,221,222],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":187,"searchDepth":194,"depth":200,"links":224},[225,226],{"id":124,"depth":206,"text":125},{"id":172,"depth":206,"text":173},"Codex网络和代理网络配置方法","md",null,{},{"icon":52},{"title":49,"description":227},"C1pynhJOP503U8iTtYrDEwVlf5oJRj5zcV4GyasQyyE",[235,237],{"title":44,"path":45,"stem":46,"description":236,"icon":47,"children":-1},"常见错误及解决方法。",{"title":54,"path":55,"stem":56,"description":238,"icon":42,"children":-1},"Codex模型能力测试",1784025170068]