From 4d0657bd8a8fb18160db6070fb2845ec8ac9dcf2 Mon Sep 17 00:00:00 2001 From: ehsan shariati Date: Sun, 2 Feb 2025 19:19:20 -0500 Subject: [PATCH] Update blox.go --- blockchain/blox.go | 1 + 1 file changed, 1 insertion(+) diff --git a/blockchain/blox.go b/blockchain/blox.go index bee6ab8..688a020 100644 --- a/blockchain/blox.go +++ b/blockchain/blox.go @@ -609,6 +609,7 @@ func (bl *FxBlockchain) handleChatWithAI(ctx context.Context, from peer.ID, w ht Status: true, Msg: chunk, } + log.Debugw("Streaming AI response chunk", "chunk", chunk) if err := json.NewEncoder(w).Encode(response); err != nil { log.Error("failed to write response: %v", err)