Warning
Experimental Plugin System / 实验性插件系统
自 v1.0.0-rc.27 起引入的实验性插件系统仍处于测试阶段,并涉及较大的架构调整。如遇问题,请及时反馈。
从 v1.0.0-rc.26 或更早版本升级的用户,必须重新配置所有视频模型价格;已完成该配置的用户无需重复操作。本版本仍不推荐用于生产环境。
The experimental plugin system introduced in v1.0.0-rc.27 remains under testing and includes major architectural changes. Please report any issues promptly.
Users upgrading from v1.0.0-rc.26 or earlier must reconfigure all video model prices. Users who have already completed this step do not need to repeat it. This release is still not recommended for production use.
New Features
- Expanded request, response, and streaming conversion across OpenAI Chat Completions, OpenAI Responses, Claude Messages, and Gemini. Hosted tools, citations, grounding metadata, reasoning intent, and authoritative usage are now preserved more faithfully across supported relay paths (#7137, #7170).
- Added the Anthropic-compatible
POST /v1/messages/count_tokensendpoint and enabled Claude channels to serve Gemini-format clients through protocol conversion. - Released RelayKit v0.2.0 with conversion diagnostics and configurable tool-loss policies.
- Added MiniMax-H3 (Hailuo-03)
/v2video generation to the Hailuo task plugin, including multimodal image, video, and audio references, 768P/2K output, and validated 4–15 second durations (#7168, #7171). - Added MiniMax-H3 usage facts for
input_imagesandinput_video_seconds. ExistingModelBillingExprvalues are not migrated automatically and must reference these fields to include input-media charges.
Reliability Improvements
- Hardened asynchronous task polling with host-level HTTP classification. Upstream 404/410 responses now fail and refund immediately, while transient, authentication, hook, and unrecognized-response failures use a bounded consecutive-failure counter.
- Added
TASK_POLL_MAX_FAILURES, defaulting to20. A successful poll resets the counter; reaching the limit fails and refunds the task. Set it to0or lower to disable this limit. The existingTASK_TIMEOUT_MINUTESdeadline remains unchanged. - Reduced unnecessary anonymous cold-start authentication requests and added ETag/304 revalidation for public notice, home, about, and legal-content APIs (#7166).
- Fixed unchanged system-task state writes being incorrectly treated as task-lock loss (#7135).
Billing, Privacy, and Bug Fixes
- Improved billing integrity across converted and streamed requests by preserving authoritative upstream usage and fixing Claude cache accounting, Gemini modality usage, tool-call surcharges, and interrupted-stream settlement (#7137, #7170).
- Fixed MiniMax-H3 input-media accounting so bounded estimates can be settled against valid upstream image and duration usage (#7171).
- Hardened usage-log privacy by separating user, administrator, root, and audit metadata and stripping sensitive channel and rejection details from user-visible log responses.
- Corrected Video API links across localized documentation (#7116).
New Contributors
- @To3akaRin made their first contribution in #7116.
- @NebulaMao made their first contribution in #7168.
- @CreatorEdition made their first contribution in #7166.
Full Changelog: v1.0.0-rc.30...v1.0.0-rc.31