mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
* fix: 统一缓存token计费口径,避免OpenAI错误计费 * fix: 添加 Gemini 缓存 token 归一化支持,优化代码结构 - Gemini 的 promptTokenCount 包含 cachedContentTokenCount,需要扣除 - 合并重复的 helper 函数为 _get_api_family() - 将 import 移到文件顶部 - 补充 Gemini 测试用例 --------- Co-authored-by: fawney19 <elky0401@gmail.com>
2.0 KiB
2.0 KiB