Skip to content

Commit ac037bf

Browse files
committed
Update blox.go
1 parent 59b8eb3 commit ac037bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blockchain/blox.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,8 @@ func (bl *FxBlockchain) handleChatWithAI(ctx context.Context, from peer.ID, w ht
591591
return
592592
}
593593

594-
log.Debugw("Streaming AI response started", "ai_model", req.AIModel)
595-
defer log.Debugw("Streaming AI response ended", "ai_model", req.AIModel)
594+
log.Debugw("Streaming AI response started", "ai_model", req.AIModel, "user_message", req.UserMessage)
595+
defer log.Debugw("Streaming AI response ended", "ai_model", req.AIModel, "user_message", req.UserMessage)
596596

597597
// Stream chunks to the client
598598
for {

0 commit comments

Comments
 (0)