@@ -95,7 +95,7 @@ func DoChatCompletionsStream(ctx context.Context, client *openai.Client, chatInf
flusher.Flush()
//time.Sleep(1 * time.Millisecond)
}
- fmt.Fprintf(hw, "event:%s\ndata:%s\n\n", "answer", "[DONE]")
+ fmt.Fprintf(hw, "data:%s\n\n", "[DONE]")
httpx.Ok(hw)