修改额度汇率的展现形式
This commit is contained in:
parent
5108f3c98f
commit
e609d8027f
@ -49,7 +49,7 @@ func GetUsage(c *gin.Context) {
|
||||
}
|
||||
amount := float64(quota)
|
||||
if common.DisplayInCurrencyEnabled {
|
||||
amount /= common.QuotaPerUnit
|
||||
amount = amount / 1000 * common.QuotaPerUnit
|
||||
}
|
||||
usage := OpenAIUsageResponse{
|
||||
Object: "list",
|
||||
|
Loading…
Reference in New Issue
Block a user