mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
chore: update OpenAPI spec from monorepo (#308)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
co-authored by
OpenRouter SDK Bot
parent
386db75669
commit
c756fc51e0
@@ -4881,6 +4881,14 @@ components:
|
||||
session_id: session-456
|
||||
user_id: user-123
|
||||
type: object
|
||||
min_p:
|
||||
description: >-
|
||||
Minimum probability threshold relative to the most likely token. Tokens with probability below min_p *
|
||||
(probability of top token) are filtered out. Not all providers support this parameter.
|
||||
example: 0.1
|
||||
format: double
|
||||
nullable: true
|
||||
type: number
|
||||
modalities:
|
||||
description: Output modalities for the response. Supported values are "text", "image", and "audio".
|
||||
example:
|
||||
@@ -4960,6 +4968,29 @@ components:
|
||||
summary:
|
||||
$ref: '#/components/schemas/ChatReasoningSummaryVerbosityEnum'
|
||||
type: object
|
||||
reasoning_effort:
|
||||
description: >-
|
||||
Shorthand for setting reasoning effort. Equivalent to setting reasoning.effort. Cannot be used
|
||||
simultaneously with reasoning.effort if they differ.
|
||||
enum:
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
- low
|
||||
- minimal
|
||||
- none
|
||||
- null
|
||||
example: medium
|
||||
nullable: true
|
||||
type: string
|
||||
repetition_penalty:
|
||||
description: >-
|
||||
Penalizes tokens based on how much they have already appeared in the text. A value of 1.0 means no penalty.
|
||||
Values above 1.0 penalize repeated tokens more strongly. Not all providers support this parameter.
|
||||
example: 1
|
||||
format: double
|
||||
nullable: true
|
||||
type: number
|
||||
response_format:
|
||||
description: Response format configuration
|
||||
discriminator:
|
||||
@@ -5044,6 +5075,21 @@ components:
|
||||
items:
|
||||
$ref: '#/components/schemas/ChatFunctionTool'
|
||||
type: array
|
||||
top_a:
|
||||
description: >-
|
||||
Consider only tokens with "sufficiently high" probabilities based on the probability of the most likely
|
||||
token. Not all providers support this parameter.
|
||||
example: 0
|
||||
format: double
|
||||
nullable: true
|
||||
type: number
|
||||
top_k:
|
||||
description: >-
|
||||
Limits the model to choose from the top K most likely tokens at each step. A value of 1 means the model will
|
||||
always pick the most likely next token. Not all providers support this parameter.
|
||||
example: 40
|
||||
nullable: true
|
||||
type: integer
|
||||
top_logprobs:
|
||||
description: Number of top log probabilities to return (0-20)
|
||||
example: 5
|
||||
|
||||
Reference in New Issue
Block a user