v0.2.1

FoundationAgents/MetaGPTv0.2.1Aug 28, 2023by stellaHSR

AI Summary

Enhances research and QA capabilities, adds vector database support, and improves code generation reliability.

Key Highlights

  • Support integration with Qdrant vector database
  • Add QA Engineer and Researcher roles
  • Add retry mechanism to reduce code generation failure
  • Support multiple web search engines

New Features

  • Vector database support
  • New roles (QA Engineer, Researcher)
  • Web search engine integration
  • Code review and retry mechanisms

Full Release Notes

### What's Changed
- Support integration with qdrant vector database by @hezhaozhao-git in https://github.com/geekan/MetaGPT/pull/207. 
- Support integration and execution on github codespaces by @LeonZh0u  in https://github.com/geekan/MetaGPT/pull/186.
- Add integration with multiple web search engines (`duckduckgo_search`/`googleapi`) by @shenchucheng in https://github.com/geekan/MetaGPT/pull/161.
- Enhance web search result parsing capability, enabling targeted web content retrieval and result parsing by @shenchucheng in https://github.com/geekan/MetaGPT/pull/69.
- Add timeout settings and network anomaly alerts for the OpenAI interface by @wangjie5540 in https://github.com/geekan/MetaGPT/pull/112.
-  Incorporate fault tolerance in `update_cost `and `update_usage `calculations, and reduce instances of code execution errors caused by network anomalies by @alitrack in https://github.com/geekan/MetaGPT/pull/138.
- Introduce and refine the role of `qa engineer`, enabling abilities such as writing test cases, running code, and debugging errors by @garylin2099  in https://github.com/geekan/MetaGPT/pull/77.
- Fix the bug that can not use proxy and update the default setting check mechanism by @flyi in https://github.com/geekan/MetaGPT/pull/121
- Introduce and refine the role of `researcher`, enabling abilities such as online searching, analyzing and summarizing web search results, and writing reports by @shenchucheng in https://github.com/geekan/MetaGPT/pull/161.
- Add custom loop policy for Windows by @bocandrei in https://github.com/geekan/MetaGPT/pull/257
- Bug fix for ProductManager import by @denniseilander  in https://github.com/geekan/MetaGPT/pull/221
- Handle exception when using  Anthropic_API_KEY instead of OPENAI_API_KEY by @flyi in https://github.com/geekan/MetaGPT/pull/194
- Add MetaGPT quickstart doc links by @voidking in https://github.com/geekan/MetaGPT/pull/139
- Fix typo problem in `run_code.py` by @jansalvador in https://github.com/geekan/MetaGPT/pull/144
- Correct requirements and install instructions by @talkingtoaj in https://github.com/geekan/MetaGPT/pull/238
- Add action `write docstring`, supporting sphinx/google/numpy styles by @shenchucheng in https://github.com/geekan/MetaGPT/pull/124
- Update the Dockerfile, translate Chinese comments within the code, and perform other typo corrections, thx @voidking @LeonZh0u @flyi.
- Fix bug when calling `faiss_store write` by @seehi in https://github.com/geekan/MetaGPT/pull/84
- Fix bug for incorrect `parse_tasks `and `parse_workspace` by @femto in https://github.com/geekan/MetaGPT/pull/116
- Support installing mmdc locally and skipping downloading Chromium by @alitrack in https://github.com/geekan/MetaGPT/pull/83
- Implement code review to enhance the executability of the generated code, optimize the code-writing prompt to improve the executability of the generated code by @qa6300525 in https://github.com/geekan/MetaGPT/pull/73
- Add a retry mechanism to reduce the probability of code generation failure  by @qa6300525 in https://github.com/geekan/MetaGPT/pull/73
- Add `memory_storage` using ann to avoid similar idea repetitive execution by @better629 in https://github.com/geekan/MetaGPT/pull/70
- Add a new api key field and create a wrapper class for serper API by @LeonZh0u in https://github.com/geekan/MetaGPT/pull/50
- Format `import `according to sort and clean up existing unused code, add .pre-commit-config.yaml to automatically detect code issues when code commit by @seehi in https://github.com/geekan/MetaGPT/pull/67
- Add requirements.txt save and `api_spec_and_tasks.md`  by @Hallimede in https://github.com/geekan/MetaGPT/pull/57
- Bug fix: delete special characters when creating a directory by @voidking in https://github.com/geekan/MetaGPT/pull/137
- Add support for anthropic Claude api by @LeoXV1 in https://github.com/geekan/MetaGPT/pull/65

#### Other updates:
1. Thanks to @geniuslzh in https://github.com/geekan/MetaGPT/pull/136, for FAQ-EN
2. Thanks to @eltociear in https://github.com/geekan/MetaGPT/pull/143, creating `REAME_JA.md`
3. Thanks to @hezhaozhao-git in https://github.com/geekan/MetaGPT/pull/208, adding ruff for code  linter
4. Thanks to  @voidking and @alitrack for their work on updating the docker image and optimizing the Dockerfile in https://github.com/geekan/MetaGPT/pull/106 and https://github.com/geekan/MetaGPT/pull/109.
5. Thanks to @stellaHSR in https://github.com/geekan/MetaGPT/pull/63, for providing the ui role and enabling the use of the stable diffusion text2image api.
6. Thanks to @wangjie5540 in https://github.com/geekan/MetaGPT/pull/179, for optimizing the Dockfile.
7. Thanks to @martcpp in https://github.com/geekan/MetaGPT/pull/156, for providing English comments.