Merge pull request #68 from oldweipro/bugfix
This commit is contained in:
commit
43fc705f70
@ -186,7 +186,7 @@ func Handler(c *gin.Context, response *http.Response, token string, translated_r
|
||||
if original_response.Message.Author.Role != "assistant" || original_response.Message.Content.Parts == nil {
|
||||
continue
|
||||
}
|
||||
if original_response.Message.Metadata.MessageType != "next" {
|
||||
if original_response.Message.Metadata.MessageType != "next" && original_response.Message.Metadata.MessageType != "continue" {
|
||||
continue
|
||||
}
|
||||
response_string := chatgpt_response_converter.ConvertToString(&original_response, &previous_text)
|
||||
|
Reference in New Issue
Block a user