MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / list_logs

Function list_logs

scripts/dashboard.py:2837–2840  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2835
2836@app.route("/api/logs")
2837def list_logs():
2838 logs = _collect_logs(log_root_path)
2839 default_path = log_manager._default_path() if log_manager else ""
2840 return jsonify({"logs": logs, "default": default_path})
2841
2842
2843@app.route("/api/switch", methods=["POST"])

Callers

nothing calls this directly

Calls 2

_collect_logsFunction · 0.85
_default_pathMethod · 0.80

Tested by

no test coverage detected