Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

refactor: notation

莘权 马962109bd119b
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index a8280cecf..2e3bcbbd5 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -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)