shensi (@shensi_max)coedx调用deep seek工具`codex_app::automation_update` 模式错误 中发帖

问题原因,如何解决??? 
codex_app 命名空间中的automation_update 工具具有oneOf 参数模式(没有顶级的type:"object" )。deepseek-flash 网关(api.deepseek.com )严格要求函数参数必须为type:"object" 。经测试验证:oneOf → HTTP 400(即您看到的错误),普通的type:"object" → HTTP 200。它同样会拒绝responses 和chat 的wire_api — 因此切换wire_api 是没有用的。8 个codex_app 工具中只有automation_update 存在此问题;其余 7 个均有效。
它是通过tool_suggest (延迟加载)加载的,当时模型在处理 Windows 计划任务工作时搜索“scheduled task”工具而被触发,随后每一轮都因重新发送其...