Update multi_agent.py
Browse files- multi_agent.py +2 -2
multi_agent.py
CHANGED
@@ -56,7 +56,7 @@ def run_multi_agent(llm, task):
|
|
56 |
|
57 |
code_executor_agent = ConversableAgent(
|
58 |
name="code_executor_agent",
|
59 |
-
llm_config=
|
60 |
code_execution_config={"executor": executor},
|
61 |
human_input_mode="NEVER",
|
62 |
default_auto_reply="TERMINATE",
|
@@ -75,7 +75,7 @@ def run_multi_agent(llm, task):
|
|
75 |
register_function(
|
76 |
get_today,
|
77 |
caller=code_writer_agent,
|
78 |
-
executor=
|
79 |
name="get_today",
|
80 |
description="Call this tool to get today's date.",
|
81 |
)
|
|
|
56 |
|
57 |
code_executor_agent = ConversableAgent(
|
58 |
name="code_executor_agent",
|
59 |
+
llm_config=False,
|
60 |
code_execution_config={"executor": executor},
|
61 |
human_input_mode="NEVER",
|
62 |
default_auto_reply="TERMINATE",
|
|
|
75 |
register_function(
|
76 |
get_today,
|
77 |
caller=code_writer_agent,
|
78 |
+
executor=code_writer_agent,
|
79 |
name="get_today",
|
80 |
description="Call this tool to get today's date.",
|
81 |
)
|