Z1rconium 在 Mistral Student套餐接入CPA似乎兼容性问题有点多?佬们来看看是不是我的问题,以及我的解决方案 中发帖
使用环境
Codex APP,CPA反代
[image]
1. developer 角色被拒绝(422)
现象: Input tag 'developer' found using 'role' does not match any of the expected tags
原因: Codex 会在对话里插入 developer 角色的消息。CPA 把 instructions 正确转成了 system,但对话里的 developer 消息原样转发了。Mistral 只接受 system、user、assistant、tool 四种角色。
解决: 加了 payload.override 规则,把所有 role=="developer" 的消息改成 system。
2. assistant 消息带了多余字段(422)
现象: extra_forbidden ... assista...