Spaces:
Runtime error
Runtime error
Update api/common.go
Browse files- 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
|
| 104 |
break
|
| 105 |
}
|
| 106 |
continue
|
|
|
|
| 100 |
c.Writer.Flush()
|
| 101 |
|
| 102 |
if strings.HasPrefix(line, "[DONE]") {
|
| 103 |
+
if Status {
|
| 104 |
break
|
| 105 |
}
|
| 106 |
continue
|