资讯动态

codex的安装与配置(跳过使用手机登录)

发布时间:2026/11/6 5:00:28 来源:尧图企业网站定制
1使用codex先安装git与node环境2Codex安装npminstall-gopenai/codex3然后使用cc-switch配置4如下显示就可以正常使用模型了5codex的配置信息6config.toml配置信息model_providercustommodelqwen3-coder:30bmodel_reasoning_efforthighdisable_response_storagetrue[model_providers.custom]namecustomwire_apiresponsesrequires_openai_authtruebase_urlhttp://192.168.11.24:11434/v1[projects.G:\traetest\codex]trust_leveltrusted[windows]sandboxunelevated如果登录codex出现问题跳过使用手机登录可以使用OPENAI_API_KEY访问网站https://platform.openai.com/api-keys使用账号密码登录后点击API KEYS去创建根据自己需要的有效期在自己的.codex目录下有一个auth.json文件然后天上如下内容即可{ OPENAI_API_KEY: sk-cis*****************************3fjq }登录的时候选择使用OPENAI_API_KEY登录如下

读完文章,也想定制专属网站?

尧图设计师 24 小时内与您沟通定制方案

免费获取报价 →
↑