feat(token): add cross-group retry option for token processing

This commit is contained in:
CaIon committed 2025-12-12 17:59:21 +08:00
1 parent ea3e9a01a0
commit c87deaa7d9
8 files changed
+38 -8

No files matched your search

+1 -1
View File
@@ -172,7 +172,7 @@ func handleLastResponse(lastStreamData string, responseId *string, createAt *int
shouldSendLastResp *bool) error {
var lastStreamResponse dto.ChatCompletionsStreamResponse
if err := json.Unmarshal(common.StringToByteSlice(lastStreamData), &lastStreamResponse); err != nil {
if err := common.Unmarshal(common.StringToByteSlice(lastStreamData), &lastStreamResponse); err != nil {
return err
}