mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-09 07:42:38 +02:00
update
This commit is contained in:
parent
7816488445
commit
a6346c7bce
1 changed files with 1 additions and 1 deletions
|
|
@ -400,7 +400,7 @@ class Role(BaseModel):
|
|||
observed_pure = [msg.dict(exclude={"id": True}) for msg in observed]
|
||||
existed_pure = [msg.dict(exclude={"id": True}) for msg in existed]
|
||||
for idx, new in enumerate(observed_pure):
|
||||
if (new["cause_by"] in self._rc.watch and new not in existed_pure) or (not self._rc.watch):
|
||||
if new["cause_by"] in self._rc.watch and new not in existed_pure:
|
||||
news.append(observed[idx])
|
||||
return news
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue