Skip to content

Commit

Permalink
Update blox.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Feb 3, 2025
1 parent ac037bf commit 4d0657b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blockchain/blox.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d0657b

Please sign in to comment.