Releases: Calcium-Ion/new-api
v0.4.8.5.2
Full Changelog: v0.4.8.5.1...v0.4.8.5.2
v0.4.8.5.1
Full Changelog: v0.4.8.5...v0.4.8.5.1
v0.4.8.5
新增模型相关设置

What's Changed
- feat: Add Claude 3.7 Sonnet thinking mode support by @MartialBE in #788
- 新增模型相关设置
Full Changelog: v0.4.8.4...v0.4.8.5
v0.4.8.4
新增用户模型限流功能,支持在 系统设置-速率限制设置
中设置模型限流,支持设置总请求数限制和成功请求数限制

What's Changed
- feat: Add model request rate limiting functionality by @Calcium-Ion in #783
- feat: Pass extra_body in OpenAI request to the backend by @zeyugao in #781
New Contributors
Full Changelog: v0.4.8.3...v0.4.8.4
v0.4.8.3
feat: 思考转内容,支持在 渠道-编辑-渠道额外设置
中设置 thinking_to_content
选项,默认false
,开启后会将思考内容reasoning_content
转换为<think>
标签拼接到内容中返回。
v0.4.8.2.2
v0.4.8.2.1
Full Changelog: v0.4.8.2...v0.4.8.2.1
v0.4.8.2
Full Changelog: v0.4.8.1...v0.4.8.2
v0.4.8.1
⚠️ 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.

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
v0.4.8.0
⚠️ Breaking Change
必要操作
如果您已经部署了 new-api-worker,请执行以下步骤:
- 更新您的 new-api-worker 配置文件,确保包含最新的必需参数
- 重新部署您的 worker 实例以应用新的配置
Required Actions
If you have already deployed new-api-worker, please follow these steps:
- Update your new-api-worker configuration file to include the latest required parameters
- Redeploy your worker instance to apply the new configuration
What's Changed
- feat: add Gemini Imagen image generation support by @Sh1n3zZ in #763
- bugfix: 配置文件 .env.example 示例配置错误 by @lgphone in #768
- feat: Add user notification settings and multiple notification methods by @Calcium-Ion in #770
New Contributors
Full Changelog: v0.4.7.3.3...v0.4.8.0-alpha.1
What's Changed
- feat: add Gemini Imagen image generation support by @Sh1n3zZ in #763
- bugfix: 配置文件 .env.example 示例配置错误 by @lgphone in #768
- feat: Add user notification settings and multiple notification methods by @Calcium-Ion in #770
- fix: Fix Ollama channel authentication by @wellcoming in #773
New Contributors
- @Sh1n3zZ made their first contribution in #763
- @lgphone made their first contribution in #768
- @wellcoming made their first contribution in #773
Full Changelog: v0.4.7.3.3...v0.4.8.0