diff --git a/swagger/docs.go b/swagger/docs.go index 132cd4f34..4c6d9b2b2 100644 --- a/swagger/docs.go +++ b/swagger/docs.go @@ -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" @@ -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", diff --git a/swagger/swagger.json b/swagger/swagger.json index 1f4e2ce93..4b46f78ea 100644 --- a/swagger/swagger.json +++ b/swagger/swagger.json @@ -1528,6 +1528,12 @@ "$ref": "#/definitions/schema.Message" } }, + "metadata": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, "mode": { "description": "Image (not supported by OpenAI)", "type": "integer" @@ -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", diff --git a/swagger/swagger.yaml b/swagger/swagger.yaml index 63310fff5..8e01f3f97 100644 --- a/swagger/swagger.yaml +++ b/swagger/swagger.yaml @@ -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 @@ -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: