mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-04 10:10:36 +00:00
feat: Add metadata field to request and response
This changes adds Optional metadata field to OpenAI compatible request and response object. fixes: #3564 Signed-off-by: Abhishek Bongale <abhishekbongale@outlook.com>
This commit is contained in:
parent
b1c5b8fa9f
commit
cfbc1f1624
10 changed files with 98 additions and 0 deletions
12
docs/static/experimental-llama-stack-spec.yaml
vendored
12
docs/static/experimental-llama-stack-spec.yaml
vendored
|
|
@ -3336,6 +3336,12 @@ components:
|
|||
anyOf:
|
||||
- type: integer
|
||||
- type: 'null'
|
||||
metadata:
|
||||
anyOf:
|
||||
- additionalProperties:
|
||||
type: string
|
||||
type: object
|
||||
- type: 'null'
|
||||
input:
|
||||
items:
|
||||
anyOf:
|
||||
|
|
@ -3736,6 +3742,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