Update multi_agent.py
Browse files- multi_agent.py +7 -7
multi_agent.py
CHANGED
@@ -32,11 +32,11 @@ def run_multi_agent(llm, message):
|
|
32 |
|
33 |
print(code_writer_agent_system_message)
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
|
41 |
###
|
42 |
for root, dirs, files in os.walk("/"):
|
@@ -44,8 +44,8 @@ def run_multi_agent(llm, message):
|
|
44 |
print(os.path.join(root, file))
|
45 |
###
|
46 |
|
47 |
-
png_file = os.path.join("coding", "ytd_stock_gains.png")
|
48 |
|
49 |
-
print("### "+png_file)
|
50 |
|
51 |
return "![alt text]('/coding/ytd_stock_gains.png')"
|
|
|
32 |
|
33 |
print(code_writer_agent_system_message)
|
34 |
|
35 |
+
chat_result = code_executor_agent.initiate_chat(
|
36 |
+
code_writer_agent,
|
37 |
+
message=message,
|
38 |
+
max_turns=10
|
39 |
+
)
|
40 |
|
41 |
###
|
42 |
for root, dirs, files in os.walk("/"):
|
|
|
44 |
print(os.path.join(root, file))
|
45 |
###
|
46 |
|
47 |
+
#png_file = os.path.join("coding", "ytd_stock_gains.png")
|
48 |
|
49 |
+
#print("### "+png_file)
|
50 |
|
51 |
return "![alt text]('/coding/ytd_stock_gains.png')"
|