Update multi_agent.py
Browse files- multi_agent.py +7 -7
multi_agent.py
CHANGED
@@ -32,12 +32,12 @@ def run_multi_agent(llm, message):
|
|
32 |
|
33 |
print(code_writer_agent_system_message)
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
|
41 |
-
|
42 |
|
43 |
-
return '![alt text](
|
|
|
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 |
+
png_file = os.path.join("coding", "ytd_stock_gains.png")
|
42 |
|
43 |
+
return '![alt text](png_file)'
|