mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.30 (#448)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
a4f0294713
commit
4d4ff3efdd
+26
-18
@@ -5783,24 +5783,7 @@ components:
|
||||
type: integer
|
||||
type: object
|
||||
server_tool_use_details:
|
||||
description: Usage for server-side tool execution (e.g., web search)
|
||||
nullable: true
|
||||
properties:
|
||||
tool_calls_executed:
|
||||
description: Number of OpenRouter server tool calls that executed and produced a result
|
||||
nullable: true
|
||||
type: integer
|
||||
tool_calls_requested:
|
||||
description: >-
|
||||
Total number of OpenRouter server-orchestrated tool calls the model requested, across all tool types. Provider-native tools (e.g. native web search) are not counted here.
|
||||
nullable: true
|
||||
type: integer
|
||||
web_search_requests:
|
||||
description: >-
|
||||
Number of web searches performed by server-side tools. For server-orchestrated tool calls a web search is also counted in tool_calls_requested; provider-native web search may report web_search_requests only. Do not sum the two.
|
||||
nullable: true
|
||||
type: integer
|
||||
type: object
|
||||
$ref: '#/components/schemas/ServerToolUseDetails'
|
||||
total_tokens:
|
||||
description: Total number of tokens
|
||||
type: integer
|
||||
@@ -20568,6 +20551,29 @@ components:
|
||||
example: medium
|
||||
type: string
|
||||
x-speakeasy-unknown-values: allow
|
||||
ServerToolUseDetails:
|
||||
description: Usage for server-side tool execution (e.g., web search)
|
||||
example:
|
||||
tool_calls_executed: 2
|
||||
tool_calls_requested: 2
|
||||
web_search_requests: 2
|
||||
nullable: true
|
||||
properties:
|
||||
tool_calls_executed:
|
||||
description: Number of OpenRouter server tool calls that executed and produced a result.
|
||||
nullable: true
|
||||
type: integer
|
||||
tool_calls_requested:
|
||||
description: >-
|
||||
Total number of OpenRouter server-orchestrated tool calls the model requested, across all tool types. Provider-native tools (e.g. native web search) are not counted here.
|
||||
nullable: true
|
||||
type: integer
|
||||
web_search_requests:
|
||||
description: >-
|
||||
Number of web searches performed by server-side tools. For server-orchestrated tool calls a web search is also counted in tool_calls_requested; provider-native web search may report web_search_requests only. Do not sum the two.
|
||||
nullable: true
|
||||
type: integer
|
||||
type: object
|
||||
ServiceTier:
|
||||
enum:
|
||||
- auto
|
||||
@@ -22847,6 +22853,8 @@ components:
|
||||
is_byok:
|
||||
description: Whether a request was made using a Bring Your Own Key configuration
|
||||
type: boolean
|
||||
server_tool_use_details:
|
||||
$ref: '#/components/schemas/ServerToolUseDetails'
|
||||
type: object
|
||||
description: Token usage information for the response
|
||||
example:
|
||||
|
||||
Reference in New Issue
Block a user