mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-09-09 11:27:54 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
13ef14abce |
@@ -3495,7 +3495,6 @@ components:
|
|||||||
- function
|
- function
|
||||||
type: object
|
type: object
|
||||||
- $ref: '#/components/schemas/DatetimeServerTool'
|
- $ref: '#/components/schemas/DatetimeServerTool'
|
||||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
|
||||||
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
|
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
|
||||||
- $ref: '#/components/schemas/ChatWebSearchShorthand'
|
- $ref: '#/components/schemas/ChatWebSearchShorthand'
|
||||||
description: Tool definition for function calling (regular function or OpenRouter built-in server tool)
|
description: Tool definition for function calling (regular function or OpenRouter built-in server tool)
|
||||||
@@ -3937,22 +3936,6 @@ components:
|
|||||||
- object
|
- object
|
||||||
- system_fingerprint
|
- system_fingerprint
|
||||||
type: object
|
type: object
|
||||||
ChatSearchModelsServerTool:
|
|
||||||
description: 'OpenRouter built-in server tool: searches and filters AI models available on OpenRouter'
|
|
||||||
example:
|
|
||||||
parameters:
|
|
||||||
max_results: 5
|
|
||||||
type: openrouter:experimental__search_models
|
|
||||||
properties:
|
|
||||||
parameters:
|
|
||||||
$ref: '#/components/schemas/SearchModelsServerToolConfig'
|
|
||||||
type:
|
|
||||||
enum:
|
|
||||||
- openrouter:experimental__search_models
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- type
|
|
||||||
type: object
|
|
||||||
ChatStreamChoice:
|
ChatStreamChoice:
|
||||||
description: Streaming completion choice chunk
|
description: Streaming completion choice chunk
|
||||||
example:
|
example:
|
||||||
@@ -7548,7 +7531,6 @@ components:
|
|||||||
- name
|
- name
|
||||||
type: object
|
type: object
|
||||||
- $ref: '#/components/schemas/DatetimeServerTool'
|
- $ref: '#/components/schemas/DatetimeServerTool'
|
||||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
|
||||||
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
|
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
|
||||||
type: array
|
type: array
|
||||||
top_k:
|
top_k:
|
||||||
@@ -7726,7 +7708,6 @@ components:
|
|||||||
- Crusoe
|
- Crusoe
|
||||||
- DeepInfra
|
- DeepInfra
|
||||||
- DeepSeek
|
- DeepSeek
|
||||||
- DekaLLM
|
|
||||||
- Featherless
|
- Featherless
|
||||||
- Fireworks
|
- Fireworks
|
||||||
- Friendli
|
- Friendli
|
||||||
@@ -7761,7 +7742,6 @@ components:
|
|||||||
- Parasail
|
- Parasail
|
||||||
- Perplexity
|
- Perplexity
|
||||||
- Phala
|
- Phala
|
||||||
- Recraft
|
|
||||||
- Reka
|
- Reka
|
||||||
- Relace
|
- Relace
|
||||||
- SambaNova
|
- SambaNova
|
||||||
@@ -10109,7 +10089,6 @@ components:
|
|||||||
- Crusoe
|
- Crusoe
|
||||||
- DeepInfra
|
- DeepInfra
|
||||||
- DeepSeek
|
- DeepSeek
|
||||||
- DekaLLM
|
|
||||||
- Featherless
|
- Featherless
|
||||||
- Fireworks
|
- Fireworks
|
||||||
- Friendli
|
- Friendli
|
||||||
@@ -10144,7 +10123,6 @@ components:
|
|||||||
- Parasail
|
- Parasail
|
||||||
- Perplexity
|
- Perplexity
|
||||||
- Phala
|
- Phala
|
||||||
- Recraft
|
|
||||||
- Reka
|
- Reka
|
||||||
- Relace
|
- Relace
|
||||||
- SambaNova
|
- SambaNova
|
||||||
@@ -10422,7 +10400,6 @@ components:
|
|||||||
- Crusoe
|
- Crusoe
|
||||||
- DeepInfra
|
- DeepInfra
|
||||||
- DeepSeek
|
- DeepSeek
|
||||||
- DekaLLM
|
|
||||||
- Featherless
|
- Featherless
|
||||||
- Fireworks
|
- Fireworks
|
||||||
- Friendli
|
- Friendli
|
||||||
@@ -10457,7 +10434,6 @@ components:
|
|||||||
- Parasail
|
- Parasail
|
||||||
- Perplexity
|
- Perplexity
|
||||||
- Phala
|
- Phala
|
||||||
- Recraft
|
|
||||||
- Reka
|
- Reka
|
||||||
- Relace
|
- Relace
|
||||||
- SambaNova
|
- SambaNova
|
||||||
@@ -11417,7 +11393,6 @@ components:
|
|||||||
- $ref: '#/components/schemas/ApplyPatchServerTool'
|
- $ref: '#/components/schemas/ApplyPatchServerTool'
|
||||||
- $ref: '#/components/schemas/CustomTool'
|
- $ref: '#/components/schemas/CustomTool'
|
||||||
- $ref: '#/components/schemas/DatetimeServerTool'
|
- $ref: '#/components/schemas/DatetimeServerTool'
|
||||||
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
|
|
||||||
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
|
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
|
||||||
type: array
|
type: array
|
||||||
top_k:
|
top_k:
|
||||||
@@ -11447,16 +11422,6 @@ components:
|
|||||||
- high
|
- high
|
||||||
example: medium
|
example: medium
|
||||||
type: string
|
type: string
|
||||||
SearchModelsServerToolConfig:
|
|
||||||
description: Configuration for the openrouter:experimental__search_models server tool
|
|
||||||
example:
|
|
||||||
max_results: 5
|
|
||||||
properties:
|
|
||||||
max_results:
|
|
||||||
description: Maximum number of models to return. Defaults to 5, max 20.
|
|
||||||
example: 5
|
|
||||||
type: integer
|
|
||||||
type: object
|
|
||||||
SearchQualityLevel:
|
SearchQualityLevel:
|
||||||
description: >-
|
description: >-
|
||||||
How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa
|
How much context to retrieve per result. Defaults to medium (15000 chars). Only applies when using the Exa
|
||||||
@@ -12231,7 +12196,8 @@ components:
|
|||||||
duration:
|
duration:
|
||||||
description: Duration of the generated video in seconds
|
description: Duration of the generated video in seconds
|
||||||
example: 8
|
example: 8
|
||||||
minimum: 1
|
exclusiveMinimum: true
|
||||||
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
frame_images:
|
frame_images:
|
||||||
description: >-
|
description: >-
|
||||||
@@ -12383,10 +12349,6 @@ components:
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
nullable: true
|
nullable: true
|
||||||
type: object
|
type: object
|
||||||
dekallm:
|
|
||||||
additionalProperties:
|
|
||||||
nullable: true
|
|
||||||
type: object
|
|
||||||
enfer:
|
enfer:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -12587,10 +12549,6 @@ components:
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
nullable: true
|
nullable: true
|
||||||
type: object
|
type: object
|
||||||
recraft:
|
|
||||||
additionalProperties:
|
|
||||||
nullable: true
|
|
||||||
type: object
|
|
||||||
recursal:
|
recursal:
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -13961,7 +13919,8 @@ paths:
|
|||||||
dimensions:
|
dimensions:
|
||||||
description: The number of dimensions for the output embeddings
|
description: The number of dimensions for the output embeddings
|
||||||
example: 1536
|
example: 1536
|
||||||
minimum: 1
|
exclusiveMinimum: 0
|
||||||
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
encoding_format:
|
encoding_format:
|
||||||
description: The format of the output embeddings
|
description: The format of the output embeddings
|
||||||
@@ -18608,7 +18567,8 @@ paths:
|
|||||||
top_n:
|
top_n:
|
||||||
description: Number of most relevant documents to return
|
description: Number of most relevant documents to return
|
||||||
example: 3
|
example: 3
|
||||||
minimum: 1
|
exclusiveMinimum: 0
|
||||||
|
minimum: 0
|
||||||
type: integer
|
type: integer
|
||||||
required:
|
required:
|
||||||
- model
|
- model
|
||||||
|
|||||||
Reference in New Issue
Block a user