fix: fix usage is not correct
This commit is contained in:
1 parent
fc85539222
commit
b8b042407a
1 file changed
+1
-1
@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) {
|
||||
}
|
||||
usage := OpenAIUsageResponse{
|
||||
Object: "list",
|
||||
TotalUsage: amount,
|
||||
TotalUsage: amount * 100,
|
||||
}
|
||||
c.JSON(200, usage)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user