mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
fix api to work with openapi generator
This commit is contained in:
parent
cd493b8228
commit
2aa76e4d81
4 changed files with 672 additions and 1541 deletions
|
@ -125,7 +125,7 @@ Event = Annotated[
|
|||
|
||||
class Telemetry(Protocol):
|
||||
@webmethod(route="/telemetry/log_event")
|
||||
async def log_event(self, event: Event): ...
|
||||
async def log_event(self, event: Event) -> None: ...
|
||||
|
||||
@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