From 2e858fb22249136a6defccb887ebe94ff465e05a Mon Sep 17 00:00:00 2001 From: Dillon Laird Date: Mon, 14 Oct 2024 10:40:39 -0700 Subject: [PATCH] fix new names --- examples/chat/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat/app.py b/examples/chat/app.py index b07e308e..2069218b 100644 --- a/examples/chat/app.py +++ b/examples/chat/app.py @@ -54,7 +54,7 @@ def update_messages(messages, lock): with lock: if Path("artifacts.pkl").exists(): artifacts.load("artifacts.pkl") - new_chat, _ = agent.chat_with_code(messages, artifacts=artifacts) + new_chat, _ = agent.chat_with_artifacts(messages, artifacts=artifacts) for new_message in new_chat[len(messages) :]: messages.append(new_message)