Merge branch 'refs/heads/develop' into feature/support-Apple-silicon

This commit is contained in:
apple.iiiyu@gmail.com 2023-07-18 20:03:52 +12:00
commit 62160e454c
2 changed files with 3 additions and 2 deletions

View file

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

View file

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