Skip to content

Commit

Permalink
handle artifact return
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Aug 30, 2024
1 parent 33cf8e7 commit 40c1cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chat/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
def update_messages(messages, lock):
if Path("artifacts.pkl").exists():
artifacts.load("artifacts.pkl")
new_chat = agent.chat_with_code(messages, artifacts=artifacts)
new_chat, _ = agent.chat_with_code(messages, artifacts=artifacts)
with lock:
for new_message in new_chat:
if new_message not in messages:
Expand Down

0 comments on commit 40c1cbd

Please sign in to comment.