mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-03 04:42:16 +00:00
feat(api): remove List* response types and nils for get/list
TODO: - make sure docstrings are refreshed as needed. - make sure this passes tests. - address a TODO in code (obsolete comment?) - make sure client side still works. - analyze if any providers need adjustments. Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
This commit is contained in:
parent
bfc79217a8
commit
90ed785fbd
21 changed files with 222 additions and 935 deletions
|
|
@ -103,6 +103,7 @@ class MetricInResponse(BaseModel):
|
|||
unit: Optional[str] = None
|
||||
|
||||
|
||||
# TODO: check what this comment is about
|
||||
# This is a short term solution to allow inference API to return metrics
|
||||
# The ideal way to do this is to have a way for all response types to include metrics
|
||||
# and all metric events logged to the telemetry API to be inlcuded with the response
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue