Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 69 additions & 74 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
typescript:
version: 1.2.117
version: 1.2.118
acceptHeaderEnum: false
additionalDependencies:
dependencies:
Expand Down
53 changes: 47 additions & 6 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ components:
- allOf:
- $ref: '#/components/schemas/FunctionTool'
- properties:
async:
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
example: true
type: 'boolean'
defer_loading:
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
example: true
Expand Down Expand Up @@ -4164,6 +4168,10 @@ components:
- allOf:
- $ref: '#/components/schemas/FunctionTool'
- properties:
async:
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
example: true
type: 'boolean'
defer_loading:
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
example: true
Expand Down Expand Up @@ -8017,6 +8025,10 @@ components:
name: 'my_tool'
type: 'custom'
properties:
async:
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
example: true
type: 'boolean'
description:
type: 'string'
format:
Expand Down Expand Up @@ -9405,17 +9417,17 @@ components:
example:
analysis_models:
- '~anthropic/claude-opus-latest'
- '~openai/gpt-latest'
- '~openai/gpt-sol-latest'
- '~google/gemini-pro-latest'
enabled: true
id: 'fusion'
model: '~anthropic/claude-opus-latest'
properties:
analysis_models:
description: 'For a Fusion run started by the `openrouter/fusion` model slug or `openrouter:fusion` server tool, slugs of models to run in parallel as the "expert panel" the analyst analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-latest, ~google/gemini-pro-latest).'
description: 'For a Fusion run started by the `openrouter/fusion` model slug or `openrouter:fusion` server tool, slugs of models to run in parallel as the "expert panel" the analyst analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-sol-latest, ~google/gemini-pro-latest).'
example:
- '~anthropic/claude-opus-latest'
- '~openai/gpt-latest'
- '~openai/gpt-sol-latest'
- '~google/gemini-pro-latest'
items:
type: 'string'
Expand Down Expand Up @@ -9504,7 +9516,7 @@ components:
parameters:
analysis_models:
- '~anthropic/claude-opus-latest'
- '~openai/gpt-latest'
- '~openai/gpt-sol-latest'
type: 'openrouter:fusion'
properties:
parameters:
Expand All @@ -9521,14 +9533,14 @@ components:
example:
analysis_models:
- '~anthropic/claude-opus-latest'
- '~openai/gpt-latest'
- '~openai/gpt-sol-latest'
- '~google/gemini-pro-latest'
properties:
analysis_models:
description: 'Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then an analyst model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion.'
example:
- '~anthropic/claude-opus-latest'
- '~openai/gpt-latest'
- '~openai/gpt-sol-latest'
- '~google/gemini-pro-latest'
items:
type: 'string'
Expand Down Expand Up @@ -15211,6 +15223,10 @@ components:
type:
- 'array'
- 'null'
async:
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
example: true
type: 'boolean'
defer_loading:
type: 'boolean'
description:
Expand Down Expand Up @@ -17963,6 +17979,10 @@ components:
name: 'apply_patch'
type: 'custom_tool_call'
properties:
async:
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
example: true
type: 'boolean'
call_id:
type: 'string'
id:
Expand Down Expand Up @@ -18029,6 +18049,10 @@ components:
properties:
arguments:
type: 'string'
async:
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
example: true
type: 'boolean'
call_id:
type: 'string'
id:
Expand Down Expand Up @@ -19441,6 +19465,10 @@ components:
status: 'completed'
type: 'custom_tool_call'
properties:
async:
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
example: true
type: 'boolean'
call_id:
type: 'string'
id:
Expand Down Expand Up @@ -19874,6 +19902,10 @@ components:
status: 'completed'
type: 'custom_tool_call'
properties:
async:
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
example: true
type: 'boolean'
call_id:
type: 'string'
id:
Expand Down Expand Up @@ -19992,6 +20024,10 @@ components:
properties:
arguments:
type: 'string'
async:
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
example: true
type: 'boolean'
call_id:
type: 'string'
id:
Expand Down Expand Up @@ -23579,6 +23615,7 @@ components:
- 'failed_to_download_image'
- 'image_file_not_found'
- 'bio_policy'
- 'cyber_policy'
- 'misalignment_policy_violation'
- 'data_residency_mismatch'
type: 'string'
Expand Down Expand Up @@ -23766,6 +23803,10 @@ components:
- allOf:
- $ref: '#/components/schemas/FunctionTool'
- properties:
async:
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
example: true
type: 'boolean'
defer_loading:
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
example: true
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:ee7a7d395c9332be60eae6efb6ac6196fe91f1594ecd61088dc3d229b68fca6a
sourceBlobDigest: sha256:ca620c767778cb3f05a5df2f0d6f0b1612578f60ad9313b5f9ad32ec6425d1c5
sourceRevisionDigest: sha256:f5e0ba920940e3804bd53c90da5a5314eb64542e17fadacb5252d21f5f7079ef
sourceBlobDigest: sha256:ca9660507abaa3871ae59d8dc8204363ad0ee97a44f9be6e5d110d369c1a486f
tags:
- latest
- 1.0.0
targets:
openrouter:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:ee7a7d395c9332be60eae6efb6ac6196fe91f1594ecd61088dc3d229b68fca6a
sourceBlobDigest: sha256:ca620c767778cb3f05a5df2f0d6f0b1612578f60ad9313b5f9ad32ec6425d1c5
sourceRevisionDigest: sha256:f5e0ba920940e3804bd53c90da5a5314eb64542e17fadacb5252d21f5f7079ef
sourceBlobDigest: sha256:ca9660507abaa3871ae59d8dc8204363ad0ee97a44f9be6e5d110d369c1a486f
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:65266dd0d93c0b33264bb7ad976a570a7088e2a0a84603e676ed3369e8006cbb
codeSamplesRevisionDigest: sha256:8a953fd88604d41f5479293cf4682e2995c919fc5627d4b369ec74fca8a6901e
workflow:
workflowVersion: 1.0.0
speakeasyVersion: 1.787.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3466,4 +3466,14 @@ Based on:
### Generated
- [typescript v1.2.117] .
### Releases
- [NPM v1.2.117] https://www.npmjs.com/package/@openrouter/sdk/v/1.2.117 - .
- [NPM v1.2.117] https://www.npmjs.com/package/@openrouter/sdk/v/1.2.117 - .

## 2026-09-11 14:41:25
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v1.2.118] .
### Releases
- [NPM v1.2.118] https://www.npmjs.com/package/@openrouter/sdk/v/1.2.118 - .
Loading
Loading