mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 03:19:52 +00:00
Update to the ImageContentItem datatype so url + data is not in a confusing union
This commit is contained in:
parent
4936794de1
commit
cf9fce6b6e
6 changed files with 36 additions and 29 deletions
|
|
@ -1043,17 +1043,16 @@ components:
|
|||
additionalProperties: false
|
||||
properties:
|
||||
data:
|
||||
oneOf:
|
||||
- contentEncoding: base64
|
||||
type: string
|
||||
- $ref: '#/components/schemas/URL'
|
||||
contentEncoding: base64
|
||||
type: string
|
||||
type:
|
||||
const: image
|
||||
default: image
|
||||
type: string
|
||||
url:
|
||||
$ref: '#/components/schemas/URL'
|
||||
required:
|
||||
- type
|
||||
- data
|
||||
type: object
|
||||
InferenceStep:
|
||||
additionalProperties: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue