mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 11:26:23 +02:00
refactor: @cause_by.setter
This commit is contained in:
parent
56f544a675
commit
8ea52d8a83
2 changed files with 2 additions and 4 deletions
|
|
@ -135,7 +135,7 @@ class Message(BaseModel):
|
|||
self.set_cause_by(v)
|
||||
continue
|
||||
if k == MESSAGE_ROUTE_TO:
|
||||
self.add_to(v)
|
||||
self.add_to(any_to_str(v))
|
||||
continue
|
||||
self.meta_info[k] = v
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue