dvc890 commited on
Commit
6ef5efd
·
1 Parent(s): 99d92c4

Update api/common.go

Browse files
Files changed (1) hide show
  1. api/common.go +1 -1
api/common.go CHANGED
@@ -100,7 +100,7 @@ func HandleConversationResponse(c *gin.Context, resp *http.Response) (bool, stri
100
  c.Writer.Flush()
101
 
102
  if strings.HasPrefix(line, "[DONE]") {
103
- if ret {
104
  break
105
  }
106
  continue
 
100
  c.Writer.Flush()
101
 
102
  if strings.HasPrefix(line, "[DONE]") {
103
+ if Status {
104
  break
105
  }
106
  continue