Update multi_agent.py
Browse files- multi_agent.py +6 -6
multi_agent.py
CHANGED
@@ -73,18 +73,18 @@ def run_multi_agent(llm_white, llm_black, num_moves):
|
|
73 |
player_white = ConversableAgent(
|
74 |
name="Player White",
|
75 |
system_message="You are a chess Grandmaster and you play as white. "
|
76 |
-
"First call get_legal_moves()
|
77 |
-
"
|
78 |
-
"
|
79 |
llm_config=llm_config_white,
|
80 |
)
|
81 |
|
82 |
player_black = ConversableAgent(
|
83 |
name="Player Black",
|
84 |
system_message="You are a chess Grandmaster and you play as black. "
|
85 |
-
"First call get_legal_moves()
|
86 |
-
"
|
87 |
-
"
|
88 |
llm_config=llm_config_black,
|
89 |
)
|
90 |
|
|
|
73 |
player_white = ConversableAgent(
|
74 |
name="Player White",
|
75 |
system_message="You are a chess Grandmaster and you play as white. "
|
76 |
+
"First, call get_legal_moves() to get a list of legal moves. "
|
77 |
+
"If there is a legal move, then call make_move(move) to make a move. "
|
78 |
+
"If there is a legal move, lastly analyze the move in 3 bullet points (format **Analysis:** move in UCI format, unordered list)",
|
79 |
llm_config=llm_config_white,
|
80 |
)
|
81 |
|
82 |
player_black = ConversableAgent(
|
83 |
name="Player Black",
|
84 |
system_message="You are a chess Grandmaster and you play as black. "
|
85 |
+
"First, call get_legal_moves() to get a list of legal moves. "
|
86 |
+
"If there is a legal move, then call make_move(move) to make a move. "
|
87 |
+
"If there is a legal move, lastly analyze the move in 3 bullet points (format **Analysis:** move in UCI format, unordered list).",
|
88 |
llm_config=llm_config_black,
|
89 |
)
|
90 |
|