Skip to content

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

refine documents

geekand2eff13b3694
diff --git a/docs/README_CN.md b/docs/README_CN.md
index 5e3e28d0c..e4e1eb36d 100644
--- a/docs/README_CN.md
+++ b/docs/README_CN.md
@@ -107,7 +107,4 @@ https://github.com/geekan/MetaGPT/assets/2707039/5e8c1062-8c35-440f-bb20-2b0320f
- 群已满,加人进群
-[//]: # (![MetaGPT WeChat Discuss Group](./resources/MetaGPT-WeChat-Group.jpeg){:height="50%" width="50%"})
<img src="resources/MetaGPT-WeChat-Personal.jpeg" width = "30%" height = "30%" alt="MetaGPT WeChat Discuss Group" align=center />
-
-
diff --git a/metagpt/software_company.py b/metagpt/software_company.py
index c2b69a7e0..dab8865ba 100644
--- a/metagpt/software_company.py
+++ b/metagpt/software_company.py
@@ -37,14 +37,13 @@ class SoftwareCompany(BaseModel):
self.investment = investment
CONFIG.max_budget = investment
logger.info(f'Investment: ${investment}.')
- # logger.info(self.config)
def _check_balance(self):
if CONFIG.total_cost > CONFIG.max_budget:
raise NoMoneyException(CONFIG.total_cost, f'Insufficient funds: {CONFIG.max_budget}')
def start_project(self, idea):
- """Start a project from publish boss requirement."""
+ """Start a project from publishing boss requirement."""
self.idea = idea
self.environment.publish_message(Message(role="BOSS", content=idea, cause_by=BossRequirement))
@@ -52,7 +51,7 @@ class SoftwareCompany(BaseModel):
logger.info(self.json())
async def run(self, n_round=3):
- """Run company until target round"""
+ """Run company until target round or no money"""
while n_round > 0:
# self._save()
n_round -= 1