Update multi_agent.py
Browse files- multi_agent.py +8 -0
multi_agent.py
CHANGED
@@ -149,6 +149,14 @@ def run_multi_agent(llm_white, llm_black, num_moves):
|
|
149 |
name="make_move",
|
150 |
description="Call this tool to make a move.",
|
151 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
|
153 |
player_white.register_nested_chats(
|
154 |
trigger=player_black,
|
|
|
149 |
name="make_move",
|
150 |
description="Call this tool to make a move.",
|
151 |
)
|
152 |
+
|
153 |
+
register_function(
|
154 |
+
set_game_over,
|
155 |
+
caller=caller,
|
156 |
+
executor=board_proxy,
|
157 |
+
name="set_game_over",
|
158 |
+
description="Call this tool to end the game.",
|
159 |
+
)
|
160 |
|
161 |
player_white.register_nested_chats(
|
162 |
trigger=player_black,
|