mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 21:02:38 +02:00
refactor: tx_from/tx_to
This commit is contained in:
parent
ed7eb4d08a
commit
c6f97f7487
10 changed files with 32 additions and 32 deletions
|
|
@ -78,8 +78,8 @@ class Trump(Role):
|
|||
content=rsp,
|
||||
role=self.profile,
|
||||
cause_by=ShoutOut,
|
||||
tx_from=self.name,
|
||||
tx_to=self.opponent_name,
|
||||
msg_from=self.name,
|
||||
msg_to=self.opponent_name,
|
||||
)
|
||||
|
||||
return msg
|
||||
|
|
@ -121,8 +121,8 @@ class Biden(Role):
|
|||
content=rsp,
|
||||
role=self.profile,
|
||||
cause_by=ShoutOut,
|
||||
tx_from=self.name,
|
||||
tx_to=self.opponent_name,
|
||||
msg_from=self.name,
|
||||
msg_to=self.opponent_name,
|
||||
)
|
||||
|
||||
return msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue