Files
codex-app-server/config.xcmapi.example.toml
T
2026-10-27 02:00:09 +08:00

21 lines
846 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 中转站配置示例(无密钥版)——复制到你的 CODEX_HOME/config.toml 再用。
# 密钥不要写进这个文件:用环境变量传给 codex 进程,例如
# XCM_API_KEY=... codex app-server
# 或在你自己的机器上把密钥放进 shell 环境 / 密钥管理工具。
# 本文件只记录 provider 形状,值本身不在仓库里。
model = "gpt-5.6-terra"
model_provider = "xcmapi"
[model_providers.xcmapi]
name = "XCM Relay"
base_url = "https://xcmapi.org/v1"
env_key = "XCM_API_KEY"
wire_api = "responses"
# 实测(2026-10-25):/v1/models 返回 5 个模型,含 gpt-6.1-sol;
# app-server 回合用 gpt-6.1-sol + effort low 已跑通写文件,
# 详见 TEST-REPORT.md。
# 2026-10-27 起默认模型改为 gpt-5.6-terra:gpt-6.1-sol 路由
# 当日实测持续 503,terra 同日实测 1 秒完成。