Commit 9def2c6c by CalciumIon

fix: image relay quota

parent 34c356b0
......@@ -170,8 +170,8 @@ func ImageHelper(c *gin.Context, relayMode int) *dto.OpenAIErrorWithStatusCode {
}
usage := &dto.Usage{
PromptTokens: relayInfo.PromptTokens,
TotalTokens: relayInfo.PromptTokens,
PromptTokens: imageRequest.N,
TotalTokens: imageRequest.N,
}
quality := "standard"
......
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