mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 02:07:26 +00:00
fix: charge local input tokens when Gemini returns empty response
This commit is contained in:
@@ -113,6 +113,7 @@ type RelayInfo struct {
|
||||
UserQuota int
|
||||
RelayFormat types.RelayFormat
|
||||
SendResponseCount int
|
||||
ReceivedResponseCount int
|
||||
FinalPreConsumedQuota int // 最终预消耗的配额
|
||||
// BillingSource indicates whether this request is billed from wallet quota or subscription.
|
||||
// "" or "wallet" => wallet; "subscription" => subscription
|
||||
|
||||
Reference in New Issue
Block a user