fix: fix usage is not correct

This commit is contained in:
JustSong
2023-06-25 09:36:39 +08:00
parent fc85539222
commit b8b042407a
+1 -1
View File
@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) {
} }
usage := OpenAIUsageResponse{ usage := OpenAIUsageResponse{
Object: "list", Object: "list",
TotalUsage: amount, TotalUsage: amount * 100,
} }
c.JSON(200, usage) c.JSON(200, usage)
return return