VS Code Codex 插件配置 API

/home/zhiyuan/.codex/config.toml

model_provider = "hongqiye"
model = "gpt-5.5"
model_reasoning_effort = "xhigh"       # xhigh可能太大
disable_response_storage = false      # 保留对话记录可调试

[model_providers.hongqiye]
name = "hongqiye"
base_url = "https://cloud.hongqiye.com/v1"   # 注意 /v1
wire_api = "responses"
requires_openai_auth = false                 # 纯中转站
stream_idle_timeout_ms = 120000             # 120秒超时

[projects."/home/zhiyuan"]
trust_level = "trusted"

[projects."/home/zhiyuan/kronos-project/Kronos"]
trust_level = "trusted"

/home/zhiyuan/.codex/auth.json

{
  "auth_mode": "apikey",
  "OPENAI_API_KEY": "sk-"
}

 

作者: 高志远

高志远,24岁,男生

发表评论

邮箱地址不会被公开。