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 @@ ## 加入微信讨论群 - 群已满,加人进群 -[//]: # (![MetaGPT WeChat Discuss Group](./resources/MetaGPT-WeChat-Group.jpeg){:height="50%" width="50%"}) MetaGPT WeChat Discuss Group - - 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