mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 11:02:36 +00:00
Add version to REST API url
This commit is contained in:
parent
7693786322
commit
c73fe390ad
18 changed files with 32837 additions and 6032 deletions
|
|
@ -125,8 +125,8 @@ Event = Annotated[
|
|||
|
||||
@runtime_checkable
|
||||
class Telemetry(Protocol):
|
||||
@webmethod(route="/telemetry/log_event")
|
||||
@webmethod(route="/telemetry/log-event")
|
||||
async def log_event(self, event: Event) -> None: ...
|
||||
|
||||
@webmethod(route="/telemetry/get_trace", method="GET")
|
||||
@webmethod(route="/telemetry/get-trace", method="GET")
|
||||
async def get_trace(self, trace_id: str) -> Trace: ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue