Update multi_agent.py
Browse files- multi_agent.py +11 -9
multi_agent.py
CHANGED
@@ -80,19 +80,21 @@ def run_multi_agent(llm, message):
|
|
80 |
print(f"An unexpected error occurred: {e}")
|
81 |
|
82 |
#
|
83 |
-
print("===")
|
84 |
-
print(chat_result)
|
85 |
-
print("===")
|
86 |
-
print(chat_result.chat_history)
|
87 |
-
print("===")
|
88 |
-
print(chat_result.chat_history[0])
|
89 |
-
print("===")
|
|
|
|
|
90 |
for message in chat_result.chat_history:
|
91 |
-
|
92 |
print("===")
|
93 |
#
|
94 |
|
95 |
-
result = markdown_code_png
|
96 |
|
97 |
#print("===")
|
98 |
#print(result)
|
|
|
80 |
print(f"An unexpected error occurred: {e}")
|
81 |
|
82 |
#
|
83 |
+
#print("===")
|
84 |
+
#print(chat_result)
|
85 |
+
#print("===")
|
86 |
+
#print(chat_result.chat_history)
|
87 |
+
#print("===")
|
88 |
+
#print(chat_result.chat_history[0])
|
89 |
+
#print("===")
|
90 |
+
chat = ""
|
91 |
+
|
92 |
for message in chat_result.chat_history:
|
93 |
+
chat += f"{message}\n"
|
94 |
print("===")
|
95 |
#
|
96 |
|
97 |
+
result = f"{markdown_code_png}\n{markdown_code_sh}\n{markdown_code_py}\n{chat}"
|
98 |
|
99 |
#print("===")
|
100 |
#print(result)
|