资讯详情

资讯详情

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

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登录如下
觉得有用,分享给同行:

为您的企业打造数字门面

稳重轻奢商务风格,端正雅致视觉,长效耐看不易过时。

立即咨询 →