GPT-5.5 API 接入踩坑实录:model name 格式、max_completion_tokens 和 structured output 三个破坏性变更(附 Cursor / Codex
上周三公司项目要从 GPT-4o 升级到 GPT-5.5,老板的原话是"新模型出了就上,别等"。我花了大半天把 API 接进来,结果旧代码一跑全是 400,三个坑踩了个遍。这篇把我踩过的坑和最终跑通的配置完整记录一下——GPT-5.5 的 model 字段命名规则变了、max_tokens参数被废弃改成了、response_format 的 JSON Schema 校验比 GPT-4o 时代更严格
所有评论(0)