From b3805461b2819071014e49ae13d6b81f247431d4 Mon Sep 17 00:00:00 2001 From: Ian McLerran Date: Fri, 24 Jan 2025 16:51:52 -0600 Subject: [PATCH] Fixed bug in chat example --- examples/chat.roc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat.roc b/examples/chat.roc index 5a13ae9..352b376 100644 --- a/examples/chat.roc +++ b/examples/chat.roc @@ -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)