wan9xy 在 codex无法通过/model选择gpt-5.1-codex-max的解决方案 中发帖
gpt-5.1-codex-max模型选择问题排查与解决
问题描述
我自己的情况是在办公室环境的 WSL 可以正常选择,家里的电脑不行。经过我的排查,造成这个问题的原因有如下几个可能。
解决方案
1. 通过中转服务拿到的 apiKey 还放在 auth.json 使用
解决办法:
将 config.yaml 的 provider 替换为如下格式:
[model_providers.wxy]
name = "wxy"
base_url = "http://crs.lan/openai"
wire_api = "responses"
env_key = "WXY_CRS_KEY"
整体配置如下:
model_provider = "wxy"
model = "gpt-5.1-codex-max"
model_reasoning_effort = "high"
disable_res...