github Calcium-Ion/new-api v0.4.8.1

latest releases: v0.4.8.2.2, v0.4.8.2.1, v0.4.8.2...
2 days ago

⚠️ Breaking Change

描述

模型重定向逻辑已进行调整:
原计费逻辑为按照重定向后的模型计费,现更改为按照重定向前的模型计费(详见下图)。

必须采取的操作

请根据新的计费逻辑检查并更新您的使用逻辑,确保系统正常运行。

Description

The model redirection logic has been updated:
Previously, billing was based on the redirected model, but it has now been changed to bill based on the original model before redirection (see the diagram for details).

Required Actions

Please review and update your implementation according to the new billing logic to ensure proper system functionality.

2a93833a370eaf7c80f883585a556e53

What's Changed

  • refactor: Simplify model mapping and pricing logic across relay modules by @Calcium-Ion in #775

Full Changelog: v0.4.8.0...v0.4.8.1

Don't miss a new new-api release

NewReleases is sending notifications on new releases.