Skip to content

Commit c48bc52

Browse files
committed
fix empty agreements at first debate sub-round
1 parent 87587d6 commit c48bc52

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

mallm/discussion_paradigms/debate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ def discuss(
120120
logger.debug(
121121
f"Discussion {coordinator.id} goes into debate round: {r!s}"
122122
)
123-
debate_agreements: list[Agreement] = []
123+
if r == 0:
124+
debate_agreements = self.agreements
124125
for i, a in enumerate(
125126
coordinator.agents[1:]
126127
): # similar to relay paradigm

0 commit comments

Comments
 (0)