Skip to content

gproxy v2.3.1

Choose a tag to compare

@LeenHawk LeenHawk released this 04 Aug 13:48

v2.3.1

Restores Codex CLI streaming compatibility after the v2.3.0 strict-decoding regression and corrects the OpenAI custom-tool grammar wire format.

English

Fixed

  • Codex Responses streams no longer disconnect on forward-compatible events. The Codex stream normalizer once again forwards an original SSE frame when its payload cannot be represented by the current typed protocol model. Typed lifecycle normalization continues for understood events, while SSE frame and buffer limits remain enforced.
  • Custom-tool grammar wire format. OpenAI grammar formats now deserialize and serialize the provider's flat { "type": "grammar", "definition": ..., "syntax": ... } shape while preserving the existing nested Rust field API.
  • Real Codex CLI regression coverage. Protocol round-trip and stream-continuation tests cover the payload that caused v2.3.0 to terminate otherwise successful HTTP 200 streams.

简体中文

修复

  • Codex Responses 流不再因前向兼容事件断开。 当事件 payload 无法由当前 typed protocol model 表达时,Codex stream normalizer 会恢复透传原始 SSE frame;已识别事件仍执行 typed 生命周期补齐,同时继续执行 SSE frame 与缓冲区大小限制。
  • Custom tool grammar wire 格式。 OpenAI grammar format 现在按 provider 的扁平 { "type": "grammar", "definition": ..., "syntax": ... } 结构反序列化与序列化,同时保留现有嵌套 Rust 字段 API。
  • 真实 Codex CLI 回归覆盖。 新增 protocol round-trip 与流继续处理测试,覆盖 v2.3.0 在上游 HTTP 200 后错误中断的实际 payload。