From 18ee132d131ca06ac65984a92097dbe705c26361 Mon Sep 17 00:00:00 2001 From: geekan Date: Tue, 18 Jul 2023 12:58:38 +0800 Subject: [PATCH 1/2] fix error --- metagpt/actions/write_prd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metagpt/actions/write_prd.py b/metagpt/actions/write_prd.py index 993e28ecf..449f073c4 100644 --- a/metagpt/actions/write_prd.py +++ b/metagpt/actions/write_prd.py @@ -127,7 +127,8 @@ class WritePRD(Action): async def run(self, requirements, *args, **kwargs) -> ActionOutput: sas = SearchAndSummarize() - rsp = await sas.run(context=requirements, system_text=SEARCH_AND_SUMMARIZE_SYSTEM_EN_US) + # rsp = await sas.run(context=requirements, system_text=SEARCH_AND_SUMMARIZE_SYSTEM_EN_US) + rsp = "" info = f"### Search Results\n{sas.result}\n\n### Search Summary\n{rsp}" if sas.result: logger.info(sas.result) From 91c557f233e3cb31a856c32ed91c7b819535ea52 Mon Sep 17 00:00:00 2001 From: geekan Date: Tue, 18 Jul 2023 15:24:13 +0800 Subject: [PATCH 2/2] done Support SERPER api in roadmap --- docs/ROADMAP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md index f36ccdc78..5c7557745 100644 --- a/docs/ROADMAP.md +++ b/docs/ROADMAP.md @@ -57,7 +57,7 @@ ### Tasks 16. Implementation: Web access 5. Plugins: Compatibility with plugin system 6. Tools - 1. Support SERPER api + 1. ~~Support SERPER api~~ 2. Support Selenium apis 3. Support Playwright apis 7. Roles