MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / get_lcm

Function get_lcm

dashboard/hermes-wrapper/plugin_api.py:530–537  ·  view source on GitHub ↗

Catch-all GET proxy for the LCM session-store API. Maps ``/lcm/ `` to upstream ``GET /api/plugins/hermes-lcm/ `` (e.g. ``overview``, ``search``, ``session/{id}``, ``node/{id}``, ``timeline``, ``compression``), preserving the query string.

(path: str, request: Request)

Source from the content-addressed store, hash-verified

528
529@router.get("/lcm/{path:path}")
530def get_lcm(path: str, request: Request) -> JSONResponse:
531 """Catch-all GET proxy for the LCM session-store API.
532
533 Maps ``/lcm/<path>`` to upstream ``GET /api/plugins/hermes-lcm/<path>``
534 (e.g. ``overview``, ``search``, ``session/{id}``, ``node/{id}``,
535 ``timeline``, ``compression``), preserving the query string.
536 """
537 return _proxy("GET", f"/api/plugins/hermes-lcm/{path}", request, None)
538
539
540@router.post("/lcm/{path:path}")

Callers

nothing calls this directly

Calls 1

_proxyFunction · 0.85

Tested by

no test coverage detected