Merge branch 'main' into feature/teacher

This commit is contained in:
莘权 马 2023-08-08 14:57:27 +08:00
commit 2bc10d1581
4 changed files with 13 additions and 2 deletions

View file

@ -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!

View file

@ -175,6 +175,11 @@ ### 代码实现
你可以查看`examples`其中有单角色带知识库的使用例子与仅LLM的使用例子。
## 快速体验
对一些用户来说安装配置本地环境是有困难的下面这些教程能够让你快速体验到MetaGPT的魅力。
- [MetaGPT快速体验](https://deepwisdom.feishu.cn/wiki/CyY9wdJc4iNqArku3Lncl4v8n2b)
## 联系信息
如果您对这个项目有任何问题或反馈,欢迎联系我们。我们非常欢迎您的建议!
@ -190,8 +195,8 @@ ## 演示
## 加入微信讨论群
<img src="resources/MetaGPT-WeChat-Group4.jpeg" width = "30%" height = "30%" alt="MetaGPT WeChat Discuss Group" align=center />
<img src="resources/20230808-002840.jpg" width = "30%" height = "30%" alt="MetaGPT WeChat Discuss Group" align=center />
如果群已满,请添加负责人微信,会邀请进群
<img src="resources/MetaGPT-WeChat-Personal.jpeg" width = "30%" height = "30%" alt="MetaGPT WeChat Discuss Group" align=center />
<img src="resources/MetaGPT-WeChat-Personal.jpeg" width = "30%" height = "30%" alt="MetaGPT WeChat Discuss Group" align=center />

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

View file

@ -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)