🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor filename
geekan05749fad3198
diff --git a/metagpt/tools/hello.py b/metagpt/tools/openapi_v3_hello.pysimilarity index 96%rename from metagpt/tools/hello.pyrename to metagpt/tools/openapi_v3_hello.pyindex ec7fc9231..c8f5de42d 100644--- a/metagpt/tools/hello.py+++ b/metagpt/tools/openapi_v3_hello.py@@ -3,7 +3,7 @@"""@Time : 2023/5/2 16:03@Author : mashenquan-@File : hello.py+@File : openapi_v3_hello.py@Desc : Implement the OpenAPI Specification 3.0 demo and use the following command to test the HTTP service:curl -X 'POST' \diff --git a/requirements.txt b/requirements.txtindex 7a4b42a7e..9c90034cb 100644--- a/requirements.txt+++ b/requirements.txt@@ -53,7 +53,7 @@ gitpython==3.1.40zhipuai==1.0.7socksio~=1.0.0gitignore-parser==0.1.9-# connexion[uvicorn]~=3.0.5 # Used by metagpt/tools/hello.py+# connexion[uvicorn]~=3.0.5 # Used by metagpt/tools/openapi_v3_hello.pywebsockets~=12.0networkx~=3.2.1google-generativeai==0.3.2diff --git a/tests/metagpt/tools/test_hello.py b/tests/metagpt/tools/test_hello.pyindex 243206991..7e61532ab 100644--- a/tests/metagpt/tools/test_hello.py+++ b/tests/metagpt/tools/test_hello.py@@ -18,7 +18,7 @@ from metagpt.config import CONFIG@pytest.mark.asyncioasync def test_hello():workdir = Path(__file__).parent.parent.parent.parent- script_pathname = workdir / "metagpt/tools/hello.py"+ script_pathname = workdir / "metagpt/tools/openapi_v3_hello.py"env = CONFIG.new_environ()env["PYTHONPATH"] = str(workdir) + ":" + env.get("PYTHONPATH", "")process = subprocess.Popen(["python", str(script_pathname)], cwd=workdir, env=env)