Skip to content

Commit 0e48c07

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#1152)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 465c858 commit 0e48c07

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10895,6 +10895,28 @@ components:
1089510895
- 'instructions'
1089610896
- 'criteria'
1089710897
type: 'object'
10898+
DecisionsImageAsset:
10899+
additionalProperties: false
10900+
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.'
10901+
properties:
10902+
data_base64:
10903+
minLength: 1
10904+
pattern: '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$'
10905+
type: 'string'
10906+
format:
10907+
enum:
10908+
- 'png'
10909+
- 'jpg'
10910+
- 'jpeg'
10911+
type: 'string'
10912+
type:
10913+
enum:
10914+
- 'image'
10915+
type: 'string'
10916+
required:
10917+
- 'format'
10918+
- 'data_base64'
10919+
type: 'object'
1089810920
DecisionsNoulAnswer:
1089910921
properties:
1090010922
noul:
@@ -10950,6 +10972,11 @@ components:
1095010972
type: 'object'
1095110973
DecisionsRequest:
1095210974
properties:
10975+
assets:
10976+
additionalProperties:
10977+
$ref: '#/components/schemas/DecisionsImageAsset'
10978+
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.'
10979+
type: 'object'
1095310980
model:
1095410981
type: 'string'
1095510982
provider:

0 commit comments

Comments
 (0)