From 76ba80d406e7411645379b712fccaade7c9ab593 Mon Sep 17 00:00:00 2001 From: "Laisky.Cai" Date: Fri, 17 Jan 2025 07:48:39 +0000 Subject: [PATCH] docs: add note about high-quota users accumulating token debts --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 638e0f25..7ab6521d 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Fully compatible with the upstream version, can be used directly by replacing th - [Bug fix](#bug-fix) - [The token balance cannot be edited](#the-token-balance-cannot-be-edited) - [Whisper's transcription only charges for the length of the input audio](#whispers-transcription-only-charges-for-the-length-of-the-input-audio) + - [High-quota users using low-quota tokens could accumulate large token debts due to lack of pre-deduction](#high-quota-users-using-low-quota-tokens-could-accumulate-large-token-debts-due-to-lack-of-pre-deduction) ## New Features @@ -115,3 +116,7 @@ type UserRequestCost struct { ### Whisper's transcription only charges for the length of the input audio - [feat(audio): count whisper-1 quota by audio duration #2022](https://github.com/songquanpeng/one-api/pull/2022) + +### High-quota users using low-quota tokens could accumulate large token debts due to lack of pre-deduction + +- [fix: 修复高并发下,高额度用户使用低额度令牌没有预扣费而导致令牌大额欠费 #25](https://github.com/Laisky/one-api/pull/25)