From 6177e50b19cc5ac55fb011be706ab9450a281b09 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Tue, 27 Oct 2026 17:38:02 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 7c9894d4..392d7195 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -10895,6 +10895,28 @@ components: - 'instructions' - 'criteria' type: 'object' + DecisionsImageAsset: + additionalProperties: false + description: 'An image sent once and referenced by its key in the `assets` map. `data_base64` is the PNG or JPEG file in standard base64 with no `data:` prefix. The multipart `part` field of TypeSafe''s API is not accepted.' + properties: + data_base64: + minLength: 1 + pattern: '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$' + type: 'string' + format: + enum: + - 'png' + - 'jpg' + - 'jpeg' + type: 'string' + type: + enum: + - 'image' + type: 'string' + required: + - 'format' + - 'data_base64' + type: 'object' DecisionsNoulAnswer: properties: noul: @@ -10950,6 +10972,11 @@ components: type: 'object' DecisionsRequest: properties: + assets: + additionalProperties: + $ref: '#/components/schemas/DecisionsImageAsset' + description: 'Images keyed by reference string, as in TypeSafe''s API. Write a reference wherever the image belongs in `state`, `instructions`, or `criteria`; every asset must be referenced at least once. Jev reads a reference as a whole string value or inside longer text. Other Decisions models read a whole-string reference wherever they read an `image_url` part and reject a reference inside longer text.' + type: 'object' model: type: 'string' provider: