Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

refine code

geekana63571ee30ec
diff --git a/metagpt/actions/generate_questions.py b/metagpt/actions/generate_questions.py
index 8573708f2..c96a37649 100644
--- a/metagpt/actions/generate_questions.py
+++ b/metagpt/actions/generate_questions.py
@@ -1,8 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
-@Time : 2023/9/12 17:45
-@Author : fisherdeng
@File : generate_questions.py
"""
from metagpt.actions import Action
@@ -23,5 +21,5 @@ class GenerateQuestions(Action):
name: str = "GenerateQuestions"
- async def run(self, context):
+ async def run(self, context) -> ActionNode:
return await QUESTIONS.fill(context=context, llm=self.llm)
diff --git a/tests/metagpt/utils/test_mermaid.py b/tests/metagpt/utils/test_mermaid.py
index b7b97a3f1..486742524 100644
--- a/tests/metagpt/utils/test_mermaid.py
+++ b/tests/metagpt/utils/test_mermaid.py
@@ -20,7 +20,6 @@ async def test_mermaid(engine):
# ink prerequisites: connected to internet
# playwright prerequisites: playwright install --with-deps chromium
assert check_cmd_exists("npm") == 0
- assert CONFIG.PYPPETEER_EXECUTABLE_PATH
CONFIG.mermaid_engine = engine
save_to = CONFIG.git_repo.workdir / f"{CONFIG.mermaid_engine}/1"