秋风小站

1.下载地址
https://openai.com/zh-Hans-CN/codex/
2.配置文件修改
codex安装打开后直接选择api接入,填入自己三方的key。然后打开:config.toml参考路径:C:\Users\Administrator\.codex\config.toml或者可以直接在设置=>配置中打开修改为。

model_provider = "OpenAI"
  model = "gpt-5.4"
  review_model = "gpt-5.4"
  model_reasoning_effort = "xhigh"
  disable_response_storage = true
  network_access = "enabled"
  windows_wsl_setup_acknowledged = true
  model_context_window = 1000000
  model_auto_compact_token_limit = 900000

  [model_providers.OpenAI]
  name = "OpenAI"
  base_url = "https://你的bseurl/v1"
  wire_api = "responses"
  requires_openai_auth = true

[windows]
sandbox = "elevated"

或者使用cc-switch:下载地址:https://github.com/farion1231/cc-switch

分类: 暂无分类 标签: 暂无标签

回复

和大家一起讨论
目录