mirror of
https://github.com/alibaba/higress.git
synced 2026-05-28 14:47:29 +08:00
fix(ai-proxy): fix streaming process
This commit is contained in:
@@ -825,7 +825,7 @@ func ExtractStreamingEvents(ctx wrapper.HttpContext, chunk []byte) []StreamEvent
|
||||
continue
|
||||
}
|
||||
|
||||
if lineStartIndex != -1 && valueStartIndex != -1 {
|
||||
if lineStartIndex != -1 {
|
||||
value := string(body[valueStartIndex:i])
|
||||
currentEvent.SetValue(currentKey, value)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user