From 59b8eb3819bd8c6c4d440ee0334d68ba656655dc Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Sun, 2 Feb 2025 13:06:22 -0500 Subject: [PATCH] Update blox.go --- blockchain/blox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain/blox.go b/blockchain/blox.go index 42a8938..19202ae 100644 --- a/blockchain/blox.go +++ b/blockchain/blox.go @@ -575,7 +575,7 @@ func (bl *FxBlockchain) handleChatWithAI(ctx context.Context, from peer.ID, w ht // Set up headers for streaming response w.Header().Set("Content-Type", "application/json") - w.WriteHeader(http.StatusAccepted) + w.WriteHeader(http.StatusOK) flusher, ok := w.(http.Flusher) if !ok {