Skip to content

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

feat: +ver

莘权 马b275f1a3f8c3
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index 3d5e55057..36d007f3b 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -494,6 +494,7 @@ class Role(SerializationMixin, is_polymorphic_base=True):
async def think(self) -> Action:
"""The exported `think` function"""
+ await self._observe()
await self._think()
return self.rc.todo
diff --git a/setup.py b/setup.py
index ea84fe299..ca8bb3980 100644
--- a/setup.py
+++ b/setup.py
@@ -57,7 +57,7 @@ extras_require["dev"] = (["pylint~=3.0.3", "black~=23.3.0", "isort~=5.12.0", "pr
setup(
name="metagpt",
- version="0.6.4",
+ version="0.6.5",
description="The Multi-Agent Framework",
long_description=long_description,
long_description_content_type="text/markdown",