gproxy v2.2.5
v2.2.5
Coerces assistant prefill into user turns for Claude models that reject it, and refreshes the Claude model lists for the latest retirements.
English
Fixed
- Trailing assistant prefill on newer Claude models. Claude Messages requests — and OpenAI Chat Completions passthrough on the Anthropic channel — ending with an assistant turn are now coerced to a user turn when the target model rejects prefill (Opus 4.6 and later, including unknown future models). Legacy models that still accept prefill (Claude 3 Opus, the Opus/Sonnet/Haiku 4.5 generation, Opus 4.1) keep it, and trailing tool results and non-Claude models are left untouched.
- Claude 3 Opus parameter handling. Claude 3 Opus — retired upstream but still accessible to some accounts — no longer receives an injected server-side
fallbacksparameter it cannot accept, and its sampling parameters are no longer stripped by the conservative default.
Changed
- Model lists refreshed for retirements. The prefill-tolerant list only carries models that remain accessible, and the server-side-fallback exclusion now covers every Claude 3.x ID, including dotted forms such as
claude-3.5-sonnetused by aggregator channels.
简体中文
修复
- 新款 Claude 模型的尾部 assistant prefill。 以 assistant turn 结尾的 Claude Messages 请求——以及 Anthropic 渠道上的 OpenAI Chat Completions 直通请求——在目标模型不支持 prefill 时(Opus 4.6 及之后,含未知的未来模型)会把尾部消息强制改为 user turn。仍支持 prefill 的旧模型(Claude 3 Opus、Opus/Sonnet/Haiku 4.5 一代、Opus 4.1)保留原行为;尾部 tool 结果与非 Claude 模型不受影响。
- Claude 3 Opus 参数处理。 Claude 3 Opus 虽已在官方退役但部分账号仍有访问权限:现在不会再为它注入其无法接受的 server-side
fallbacks参数,其采样参数也不再被保守默认策略剥除。
变更
- 模型名单按退役状态刷新。 prefill 容忍名单仅保留仍可访问的模型;server-side fallback 排除名单现覆盖所有 Claude 3.x ID,包括聚合渠道使用的
claude-3.5-sonnet点号形式。