Skip to content

Commit

Permalink
fix new names
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Oct 14, 2024
1 parent b5f4fac commit 2e858fb
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 @@ -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)

Expand Down

0 comments on commit 2e858fb

Please sign in to comment.