bstraehle commited on
Commit
668d0e5
·
verified ·
1 Parent(s): c7db2da

Update multi_agent.py

Browse files
Files changed (1) hide show
  1. multi_agent.py +3 -5
multi_agent.py CHANGED
@@ -78,7 +78,6 @@ def run_multi_agent(llm_white, llm_black, num_moves):
78
  "After a move is made, analyze the move in 3 bullet points. Respond in format **Analysis:** move from/to, unordered list, your turn player black. "
79
  "Then continue playing.",
80
  llm_config=llm_config_white,
81
- max_turns=150,
82
  )
83
 
84
  player_black = ConversableAgent(
@@ -89,7 +88,6 @@ def run_multi_agent(llm_white, llm_black, num_moves):
89
  "After a move is made, analyze the move in 3 bullet points. Respond in format **Analysis:** move from/to, unordered list, your turn player white. "
90
  "Then continue playing.",
91
  llm_config=llm_config_black,
92
- max_turns=150,
93
  )
94
 
95
  for caller in [player_white, player_black]:
@@ -116,7 +114,7 @@ def run_multi_agent(llm_white, llm_black, num_moves):
116
  "sender": board_proxy,
117
  "recipient": player_white,
118
  "summary_method": "last_msg",
119
- "silent": True,
120
  }
121
  ],
122
  )
@@ -128,7 +126,7 @@ def run_multi_agent(llm_white, llm_black, num_moves):
128
  "sender": board_proxy,
129
  "recipient": player_black,
130
  "summary_method": "last_msg",
131
- "silent": True,
132
  }
133
  ],
134
  )
@@ -137,7 +135,7 @@ def run_multi_agent(llm_white, llm_black, num_moves):
137
  player_white,
138
  message="Let's play chess!",
139
  max_turns=get_num_turns(num_moves),
140
- verbose=False
141
  )
142
 
143
  chat_history = chat_result.chat_history
 
78
  "After a move is made, analyze the move in 3 bullet points. Respond in format **Analysis:** move from/to, unordered list, your turn player black. "
79
  "Then continue playing.",
80
  llm_config=llm_config_white,
 
81
  )
82
 
83
  player_black = ConversableAgent(
 
88
  "After a move is made, analyze the move in 3 bullet points. Respond in format **Analysis:** move from/to, unordered list, your turn player white. "
89
  "Then continue playing.",
90
  llm_config=llm_config_black,
 
91
  )
92
 
93
  for caller in [player_white, player_black]:
 
114
  "sender": board_proxy,
115
  "recipient": player_white,
116
  "summary_method": "last_msg",
117
+ "silent": False,
118
  }
119
  ],
120
  )
 
126
  "sender": board_proxy,
127
  "recipient": player_black,
128
  "summary_method": "last_msg",
129
+ "silent": False,
130
  }
131
  ],
132
  )
 
135
  player_white,
136
  message="Let's play chess!",
137
  max_turns=get_num_turns(num_moves),
138
+ verbose=True
139
  )
140
 
141
  chat_history = chat_result.chat_history