"""诊断脚本:直接看 API 返回的原始 JSON""" from ekb_cli.api import get_client with get_client() as client: raw = client.get("/engine/hab/agent/list", page=1, size=5) import json print(json.dumps(raw, indent=2, ensure_ascii=False))