bstraehle commited on
Commit
8e2a2d2
1 Parent(s): a422127

Update multi_agent.py

Browse files
Files changed (1) hide show
  1. 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(), to get a list of legal moves. "
77
- "Then call make_move(move) to make a move. "
78
- "Analyze the move in 3 bullet points. Respond in 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
- "Then call make_move(move) to make a move. "
87
- "Analyze the move in 3 bullet points. Respond in format **Analysis:** move in UCI format, unordered list.",
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