Commit b8b04240 by JustSong

fix: fix usage is not correct

parent fc855392
...@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment