bstraehle commited on
Commit
b08075f
1 Parent(s): cee9374

Update multi_agent.py

Browse files
Files changed (1) hide show
  1. multi_agent.py +1 -1
multi_agent.py CHANGED
@@ -52,7 +52,7 @@ def run_multi_agent(llm, message):
52
 
53
  chat_history = ""
54
 
55
- for message in chat_result["messages"]:
56
  chat_history += f"Role: {message['role']}, Content: {message['content']}\n"
57
 
58
  image_data = read_image_file("/home/user/app/coding/ytd_stock_gains.png")
 
52
 
53
  chat_history = ""
54
 
55
+ for message in chat_history.messages:
56
  chat_history += f"Role: {message['role']}, Content: {message['content']}\n"
57
 
58
  image_data = read_image_file("/home/user/app/coding/ytd_stock_gains.png")