mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
feat: Add metadata field to request and response (#4237)
This changes adds Optional metadata field to OpenAI compatible request and response object. fixes: #3564 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com> Co-authored-by: Ashwin Bharambe <ashwin.bharambe@gmail.com>
This commit is contained in:
parent
28ff6d8659
commit
618c03405c
10 changed files with 98 additions and 0 deletions
18
docs/static/llama-stack-spec.yaml
vendored
18
docs/static/llama-stack-spec.yaml
vendored
|
|
@ -5817,6 +5817,12 @@ components:
|
|||
anyOf:
|
||||
- type: integer
|
||||
- type: 'null'
|
||||
metadata:
|
||||
anyOf:
|
||||
- additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
- type: 'null'
|
||||
input:
|
||||
items:
|
||||
anyOf:
|
||||
|
|
@ -6220,6 +6226,12 @@ components:
|
|||
anyOf:
|
||||
- type: integer
|
||||
- type: 'null'
|
||||
metadata:
|
||||
anyOf:
|
||||
- additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
- type: 'null'
|
||||
type: object
|
||||
required:
|
||||
- input
|
||||
|
|
@ -6351,6 +6363,12 @@ components:
|
|||
anyOf:
|
||||
- type: integer
|
||||
- type: 'null'
|
||||
metadata:
|
||||
anyOf:
|
||||
- additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
- type: 'null'
|
||||
type: object
|
||||
required:
|
||||
- created_at
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue