refactor: remove unnecessary call to helper.Done and adjust data rendering in ClaudeChunkData
This commit is contained in:
1 parent
4cc1f2b4e3
commit
24200df47e
3 files changed
+3
-5
No files matched your search
@@ -724,8 +724,6 @@ func OaiResponsesStreamHandler(c *gin.Context, resp *http.Response, info *relayc
|
||||
return true
|
||||
})
|
||||
|
||||
helper.Done(c)
|
||||
|
||||
if usage.CompletionTokens == 0 {
|
||||
// 计算输出文本的 token 数量
|
||||
tempStr := responseTextBuilder.String()
|
||||
|
||||
Reference in new issue
Block a user