llama-stack-mirror/llama_stack
Ashwin Bharambe 2e5bfcd42a
Update Telemetry API so OpenAPI generation can work (#640)
We cannot use recursive types because not only does our OpenAPI
generator not like them, even if it did, it is not easy for all client
languages to automatically construct proper APIs (especially considering
garbage collection) around them. For now, we can return a `Dict[str,
SpanWithStatus]` instead of `SpanWithChildren` and rely on the client to
reconstruct the tree.

Also fixed a super subtle issue with the OpenAPI generation process
(monkey-patching of json_schema_type wasn't working because of import
reordering.)
2024-12-16 13:00:14 -08:00
..
apis Update Telemetry API so OpenAPI generation can work (#640) 2024-12-16 13:00:14 -08:00
cli doc: llama-stack build --config help text references old directory (#596) 2024-12-10 17:42:02 -08:00
distribution add embedding model by default to distribution templates (#617) 2024-12-13 12:48:00 -08:00
providers Update Telemetry API so OpenAPI generation can work (#640) 2024-12-16 13:00:14 -08:00
scripts Integrate distro docs into the restructured docs 2024-11-20 23:20:05 -08:00
templates add embedding model by default to distribution templates (#617) 2024-12-13 12:48:00 -08:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00