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 59b8eb3 commit ac037bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blockchain/blox.go
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ func (bl *FxBlockchain) handleChatWithAI(ctx context.Context, from peer.ID, w ht
return
}

log.Debugw("Streaming AI response started", "ai_model", req.AIModel)
defer log.Debugw("Streaming AI response ended", "ai_model", req.AIModel)
log.Debugw("Streaming AI response started", "ai_model", req.AIModel, "user_message", req.UserMessage)
defer log.Debugw("Streaming AI response ended", "ai_model", req.AIModel, "user_message", req.UserMessage)

// Stream chunks to the client
for {
Expand Down

0 comments on commit ac037bf

Please sign in to comment.