Skip to content

Commit

Permalink
Fixed bug in chat example
Browse files Browse the repository at this point in the history
  • Loading branch information
imclerran committed Jan 24, 2025
1 parent 3f4d662 commit b380546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat.roc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ loop! = |client|
Stdout.write!("You: ")?
query = Stdin.line!({})?
client2 = Chat.append_user_message(client, query, {})
response = Http.send!(Chat.build_http_request(client, {}))?
response = Http.send!(Chat.build_http_request(client2, {}))?
client3 = Chat.update_message_list(client2, response)?
print_last_message!(client3.messages)?
loop!(client)
Expand Down

0 comments on commit b380546

Please sign in to comment.