部署微软 openai apikey 在gpt-5.6上有不兼容冲突导致无法使用
微软的apikey可能有点什么问题,5.4是没问题的,5.6怎么都不行
如果开了自动或者强制Chat Completions,gpt-5.4是ok的,gpt-5.5没有额度,gpt-5.6则会报错: openai.forward_failed method=POST path=/responses req=xxx client_req=xxx user=1 key=16 acc=49 model=gpt-5.6-sol error=upstream error: 400 message=Function tools with reasoning_effort are not supported for gpt-5.6-sol in /v1/chat/completions. Please use /v1/responses instead.
如果改为强制responses,gpt-5.4也不行了,gpt-5.6报错: openai.forward_failed method=POST path=/responses req=xxx client_req=xxx user=1 key=16 acc=49 model=gpt-5.6-sol error=upstream error: 400 message=Invalid value: 'sequential_cutoff'. Supported values are: 'sequential', 'concurrent', and 'concurrent_cutoff'. 2026/7/13 19:23:40 error OpenAI upstream error 400 (account=49 platform=openai type=apikey): {\n "error": {\n "message": "Invalid value: 'sequential_cutoff'. Supported values are: 'sequential', 'concurrent', and 'concurrent_cutoff'.",\n "type": "invalid_request_error",\n "param": "stream_options.reasoning_summary_delivery",\n "code": "***"\n }\n}
如果ChatGPT客户端(codex更新完改成这个名字了)配置concurrent_reasoning_summaries = false,也不行,gpt-5.6报错: openai.forward_failed method=POST path=/responses req=xxx client_req=xxx user=1 key=16 acc=73 model=gpt-5.6 error=upstream error: 400 message=Insufficient quota available for instant inference. 其实配额充足,不知道是啥错误了。
换回gpt-5.4就正常了,5.6无论如何也不通。
我找到临时解决方案了,config.toml里将[model.providers=xxx] name="OpenAI"换成其他名字,重启condex,开一个新会话就通了。