Skip to content

Commit f5d93c9

Browse files
committed
Update API endpoint to retrieve up to 10,000 published agents
1 parent 623a371 commit f5d93c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def _login() -> str:
145145
def get_published_agents() -> list:
146146
"""返回所有已发布智能体,每条包含 id / name / desc。"""
147147
resp = _get(
148-
f"/admin/api/workspace/{MAXKB_WORKSPACE_ID}/application/1/100"
148+
f"/admin/api/workspace/{MAXKB_WORKSPACE_ID}/application/1/10000"
149149
)
150150
records = resp.get("data", {}).get("records", [])
151151
agents = [

0 commit comments

Comments
 (0)