Skip to content

Commit

Permalink
Improve logging of messages in aichat.go
Browse files Browse the repository at this point in the history
- Replace incorrect variable name `messagesSlice` with `messages` in log.Printf statement
  • Loading branch information
tkawachi committed May 7, 2023
1 parent a53231b commit a81a6b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aichat.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ func main() {
} else {
messages := prompt.CreateMessages(input)
if verbose {
log.Printf("messages: %+v", messagesSlice)
log.Printf("messages: %+v", messages)
}
messagesSlice = [][]gogpt.ChatCompletionMessage{messages}
}
Expand Down

0 comments on commit a81a6b7

Please sign in to comment.