diff --git a/pkg/openai/chat.go b/pkg/openai/chat.go index c244120..ff5958d 100644 --- a/pkg/openai/chat.go +++ b/pkg/openai/chat.go @@ -205,9 +205,9 @@ func ChatProxy(c *gin.Context, chatReq *ChatCompletionRequest) { case "gpt-4o", "gpt-4o-mini", "chatgpt-4o-latest": chatReq.MaxTokens = 16384 } - if chatReq.Stream == true { - chatReq.StreamOptions.IncludeUsage = true - } + // if chatReq.Stream == true { + // chatReq.StreamOptions.IncludeUsage = true + // } usagelog.PromptCount = tokenizer.NumTokensFromStr(prompt, chatReq.Model)