mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
refactor filename
This commit is contained in:
parent
e580e971a9
commit
05749fad31
3 changed files with 3 additions and 3 deletions
|
|
@ -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' \
|
||||
|
|
@ -53,7 +53,7 @@ gitpython==3.1.40
|
|||
zhipuai==1.0.7
|
||||
socksio~=1.0.0
|
||||
gitignore-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.py
|
||||
websockets~=12.0
|
||||
networkx~=3.2.1
|
||||
google-generativeai==0.3.2
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ from metagpt.config import CONFIG
|
|||
@pytest.mark.asyncio
|
||||
async 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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue