Skip to content

Commit c756fc5

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#308)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 386db75 commit c756fc5

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4881,6 +4881,14 @@ components:
48814881
session_id: session-456
48824882
user_id: user-123
48834883
type: object
4884+
min_p:
4885+
description: >-
4886+
Minimum probability threshold relative to the most likely token. Tokens with probability below min_p *
4887+
(probability of top token) are filtered out. Not all providers support this parameter.
4888+
example: 0.1
4889+
format: double
4890+
nullable: true
4891+
type: number
48844892
modalities:
48854893
description: Output modalities for the response. Supported values are "text", "image", and "audio".
48864894
example:
@@ -4960,6 +4968,29 @@ components:
49604968
summary:
49614969
$ref: '#/components/schemas/ChatReasoningSummaryVerbosityEnum'
49624970
type: object
4971+
reasoning_effort:
4972+
description: >-
4973+
Shorthand for setting reasoning effort. Equivalent to setting reasoning.effort. Cannot be used
4974+
simultaneously with reasoning.effort if they differ.
4975+
enum:
4976+
- xhigh
4977+
- high
4978+
- medium
4979+
- low
4980+
- minimal
4981+
- none
4982+
- null
4983+
example: medium
4984+
nullable: true
4985+
type: string
4986+
repetition_penalty:
4987+
description: >-
4988+
Penalizes tokens based on how much they have already appeared in the text. A value of 1.0 means no penalty.
4989+
Values above 1.0 penalize repeated tokens more strongly. Not all providers support this parameter.
4990+
example: 1
4991+
format: double
4992+
nullable: true
4993+
type: number
49634994
response_format:
49644995
description: Response format configuration
49654996
discriminator:
@@ -5044,6 +5075,21 @@ components:
50445075
items:
50455076
$ref: '#/components/schemas/ChatFunctionTool'
50465077
type: array
5078+
top_a:
5079+
description: >-
5080+
Consider only tokens with "sufficiently high" probabilities based on the probability of the most likely
5081+
token. Not all providers support this parameter.
5082+
example: 0
5083+
format: double
5084+
nullable: true
5085+
type: number
5086+
top_k:
5087+
description: >-
5088+
Limits the model to choose from the top K most likely tokens at each step. A value of 1 means the model will
5089+
always pick the most likely next token. Not all providers support this parameter.
5090+
example: 40
5091+
nullable: true
5092+
type: integer
50475093
top_logprobs:
50485094
description: Number of top log probabilities to return (0-20)
50495095
example: 5

0 commit comments

Comments
 (0)