woshi shabi

This commit is contained in:
2023-07-18 19:03:59 +08:00
parent 07b86bb95b
commit a5c832adaa

View File

@@ -83,7 +83,6 @@ func recordAssistantResponse(contentType string, db *gorm.DB, trackID uuid.UUID,
continue continue
} }
result += chunk.Choices[0].Delta.Content result += chunk.Choices[0].Delta.Content
log.Println(line)
} }
} else if strings.HasPrefix(contentType, "application/json") { } else if strings.HasPrefix(contentType, "application/json") {
var fetchResp FetchModeResponse var fetchResp FetchModeResponse