diff --git a/README.md b/README.md index a2f95437d..cc0edb9a3 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,11 @@ ### Code walkthrough You can check `examples` for more details on single role (with knowledge base) and LLM only examples. +## QuickStart +It is difficult to install and configure the local environment for some users. The following tutorials will allow you to quickly experience the charm of MetaGPT. + +- [MetaGPT quickstart](https://deepwisdom.feishu.cn/wiki/Q8ycw6J9tiNXdHk66MRcIN8Pnlg) + ## Contact Information If you have any questions or feedback about this project, please feel free to contact us. We highly appreciate your suggestions! diff --git a/docs/README_CN.md b/docs/README_CN.md index 6458861c9..d646a4e2a 100644 --- a/docs/README_CN.md +++ b/docs/README_CN.md @@ -175,6 +175,11 @@ ### 代码实现 你可以查看`examples`,其中有单角色(带知识库)的使用例子与仅LLM的使用例子。 +## 快速体验 +对一些用户来说,安装配置本地环境是有困难的,下面这些教程能够让你快速体验到MetaGPT的魅力。 + +- [MetaGPT快速体验](https://deepwisdom.feishu.cn/wiki/CyY9wdJc4iNqArku3Lncl4v8n2b) + ## 联系信息 如果您对这个项目有任何问题或反馈,欢迎联系我们。我们非常欢迎您的建议! @@ -190,8 +195,8 @@ ## 演示 ## 加入微信讨论群 -MetaGPT WeChat Discuss Group +MetaGPT WeChat Discuss Group 如果群已满,请添加负责人微信,会邀请进群 -MetaGPT WeChat Discuss Group \ No newline at end of file +MetaGPT WeChat Discuss Group diff --git a/docs/resources/20230808-002840.jpg b/docs/resources/20230808-002840.jpg new file mode 100644 index 000000000..1d4852930 Binary files /dev/null and b/docs/resources/20230808-002840.jpg differ diff --git a/metagpt/roles/engineer.py b/metagpt/roles/engineer.py index bb29db30a..072e53998 100644 --- a/metagpt/roles/engineer.py +++ b/metagpt/roles/engineer.py @@ -93,6 +93,7 @@ class Engineer(Role): def write_file(self, filename: str, code: str): workspace = self.get_workspace() + filename = filename.replace('"', '').replace('\n', '') file = workspace / filename file.parent.mkdir(parents=True, exist_ok=True) file.write_text(code)