mirror of
https://github.com/zyycn/codex-proxy-rs.git
synced 2026-12-03 08:01:10 +00:00
fix(protocol): handle empty Chat history and nullable fields (#831)
* fix(protocol): accept null-content system/developer chat messages Codex 客户端偶尔会发送 content 为 null 的 system 消息,公共校验按空内容拒绝并报 Parameter messages[N].content has an invalid value。允许 system/developer 消息 内容为空,genai 与 messages 转换跳过空内容,responses 目标已自然忽略。 fixes #824 * fix(protocol): normalize empty Chat history and nullable fields Co-authored-by: Codex <noreply@openai.com> --------- Co-authored-by: Zyy <zyycn@users.noreply.github.com> Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
committed by
Zyy
co-authored by
Codex
Zyy
parent
6a6a167d41
commit
2821a5e3bd