Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions swagger/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1535,6 +1535,12 @@ const docTemplate = `{
"$ref": "#/definitions/schema.Message"
}
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"mode": {
"description": "Image (not supported by OpenAI)",
"type": "integer"
Expand Down Expand Up @@ -1567,6 +1573,9 @@ const docTemplate = `{
"quality": {
"type": "string"
},
"reasoning_effort": {
"type": "string"
},
"ref_images": {
"description": "Reference images for models that support them (e.g., Flux Kontext)",
"type": "array",
Expand Down
9 changes: 9 additions & 0 deletions swagger/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1528,6 +1528,12 @@
"$ref": "#/definitions/schema.Message"
}
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"mode": {
"description": "Image (not supported by OpenAI)",
"type": "integer"
Expand Down Expand Up @@ -1560,6 +1566,9 @@
"quality": {
"type": "string"
},
"reasoning_effort": {
"type": "string"
},
"ref_images": {
"description": "Reference images for models that support them (e.g., Flux Kontext)",
"type": "array",
Expand Down
6 changes: 6 additions & 0 deletions swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,10 @@ definitions:
items:
$ref: '#/definitions/schema.Message'
type: array
metadata:
additionalProperties:
type: string
type: object
mode:
description: Image (not supported by OpenAI)
type: integer
Expand All @@ -514,6 +518,8 @@ definitions:
description: Prompt is read only by completion/image API calls
quality:
type: string
reasoning_effort:
type: string
ref_images:
description: Reference images for models that support them (e.g., Flux Kontext)
items:
Expand Down
Loading