mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-05-03 10:57:35 +08:00
Release v1.0.2
This commit is contained in:
@@ -495,9 +495,7 @@ func (p *CodexProvider) doStreamAttempt(req *http.Request, attempt authAttempt,
|
||||
if typ := strings.TrimSpace(fmt.Sprintf("%v", obj["type"])); typ == "response.completed" {
|
||||
completed = true
|
||||
if respObj, ok := obj["response"]; ok {
|
||||
if b, err := json.Marshal(respObj); err == nil {
|
||||
finalJSON = b
|
||||
}
|
||||
finalJSON = mergeStreamFinalJSON(finalJSON, respObj)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user