Skip to content

gproxy v2.7.0

Choose a tag to compare

@LeenHawk LeenHawk released this 15 Aug 18:06

v2.7.0

Models the complete OpenAI Realtime API wire protocol and carries Claude tool extensions and provider token limits through the OpenAI Responses format.

English

Added

  • OpenAI Realtime API wire models. GA session configuration with nested audio input/output settings (formats, voice, speed, noise reduction, transcription, server/semantic VAD including the explicit-null disable), conversation items and content parts, the full client event set, and the server event set with an Unknown fallback so live sessions survive wire evolution. MCP realtime lifecycle events are included.
  • Claude tool extensions in the Responses format. Responses-side gproxy extensions now express Claude-native tool semantics: web_search max_uses and filter blocked_domains, an explicit web_fetch tool definition, apply_patch max_characters, and a memory tool variant. All of them map to their Claude tool counterparts; OpenAI-bound conversions never emit them.
  • Model token limits across providers. The OpenAI model object gains max_input_tokens/max_output_tokens extension fields, and model-list conversions carry Claude and Gemini context/output limits through them in both directions.

Changed

  • Explicit web_fetch wins over implicit expansion. When a Responses tool list contains an explicit web_fetch definition, the WebSearch-to-Claude conversion no longer adds its implicit WebFetch twin, so Claude never receives duplicate tool names.

简体中文

新增

  • OpenAI Realtime API 协议建模。 GA 会话配置(嵌套的音频输入/输出设置:格式、voice、语速、降噪、转写、server/semantic VAD 及显式 null 关闭语义)、会话 item 与内容部件、完整客户端事件集,以及带 Unknown 兜底的服务端事件集——线上会话不会因协议演进而硬失败。含 MCP realtime 生命周期事件。
  • Responses 格式承载 Claude 工具扩展。 Responses 侧 gproxy 扩展现可表达 Claude 原生工具语义:web_searchmax_uses 与过滤器 blocked_domains、显式 web_fetch 工具定义、apply_patchmax_charactersmemory 工具 variant,均映射到对应 Claude 工具;面向 OpenAI 上游的转换不会输出这些扩展。
  • 跨供应商模型 token 上限。 OpenAI 模型对象新增 max_input_tokens/max_output_tokens 扩展字段,模型列表转换双向透传 Claude 与 Gemini 的上下文/输出上限。

变更

  • 显式 web_fetch 优先于隐式展开。 Responses 工具列表包含显式 web_fetch 定义时,WebSearch 到 Claude 的转换不再附加隐式 WebFetch 副本,避免 Claude 收到重名工具。