Update command.py

This commit is contained in:
long2ice 2025-03-21 15:05:34 +08:00 committed by GitHub
parent 078c0d52c5
commit 818bb523dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,15 +23,10 @@ from lib.chatmark.step import Step # noqa: E402
def get_apidocs():
print("----")
print(f"{SERVER_URL}/autotest/projects/{PROJECT_ID}/apidocs")
res = session.get(
f"{SERVER_URL}/autotest/projects/{PROJECT_ID}/apidocs",
params={"page": 1, "size": 100},
)
print(res.text)
# exit(0)
return res.json()["docs"]