Skip to content

Commit 1fca1ce

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#457)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 0216a4c commit 1fca1ce

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5051,6 +5051,8 @@ components:
50515051
- $ref: '#/components/schemas/ParetoRouterPlugin'
50525052
- $ref: '#/components/schemas/FusionPlugin'
50535053
type: array
5054+
prediction:
5055+
$ref: '#/components/schemas/Prediction'
50545056
presence_penalty:
50555057
description: Presence penalty (-2.0 to 2.0)
50565058
example: 0
@@ -17926,6 +17928,7 @@ components:
1792617928
- logit_bias
1792717929
- logprobs
1792817930
- top_logprobs
17931+
- prediction
1792917932
- seed
1793017933
- response_format
1793117934
- structured_outputs
@@ -18234,6 +18237,45 @@ components:
1823418237
- context_compression
1823518238
example: guardrail
1823618239
type: string
18240+
Prediction:
18241+
description: >-
18242+
Static predicted output content. Supported models can use this to reduce latency when much of the response is
18243+
known in advance.
18244+
example:
18245+
content: Expected response
18246+
type: content
18247+
nullable: true
18248+
properties:
18249+
content:
18250+
anyOf:
18251+
- type: string
18252+
- items:
18253+
$ref: '#/components/schemas/PredictionContentText'
18254+
type: array
18255+
type:
18256+
enum:
18257+
- content
18258+
type: string
18259+
required:
18260+
- type
18261+
- content
18262+
type: object
18263+
PredictionContentText:
18264+
description: Text content part for a predicted output.
18265+
example:
18266+
text: Expected response
18267+
type: text
18268+
properties:
18269+
text:
18270+
type: string
18271+
type:
18272+
enum:
18273+
- text
18274+
type: string
18275+
required:
18276+
- type
18277+
- text
18278+
type: object
1823718279
PreferredMaxLatency:
1823818280
anyOf:
1823918281
- format: double

0 commit comments

Comments
 (0)