Update multi_agent.py
Browse files- 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
|
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")
|