mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-04 13:22:39 +02:00
refactor: notation
This commit is contained in:
parent
23749212bf
commit
962109bd11
1 changed files with 1 additions and 1 deletions
|
|
@ -257,7 +257,7 @@ class Role:
|
|||
|
||||
async def run(self, with_message=None):
|
||||
"""Observe, and think and act based on the results of the observation"""
|
||||
if with_message: # For test
|
||||
if with_message:
|
||||
msg = None
|
||||
if isinstance(with_message, str):
|
||||
msg = Message(with_message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue