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
339 changes: 232 additions & 107 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 @@ -36,7 +36,7 @@ generation:
documentation: mintlify
preApplyUnionDiscriminators: true
python:
version: 1.3.41
version: 1.3.42
additionalDependencies:
dev: {}
main: {}
Expand Down
416 changes: 412 additions & 4 deletions .speakeasy/out.openapi.yaml

Large diffs are not rendered by default.

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:d39992720f0137eacb9103b4cdbf4841dd8d071fab7a468a1e76e14d66776ed2
sourceBlobDigest: sha256:57ae88e9838f77eeadf30f4def89b0c1bd7180cc4e57fe97f27c9157d1ebdd13
sourceRevisionDigest: sha256:177676b30a0e3e7733de207c903bccb95358853120b40968721584d41842213b
sourceBlobDigest: sha256:02e31a29ab21ef9ee74e6847d245d1b8719f801a879a71e3aa4504302c7c73cd
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:d39992720f0137eacb9103b4cdbf4841dd8d071fab7a468a1e76e14d66776ed2
sourceBlobDigest: sha256:57ae88e9838f77eeadf30f4def89b0c1bd7180cc4e57fe97f27c9157d1ebdd13
sourceRevisionDigest: sha256:177676b30a0e3e7733de207c903bccb95358853120b40968721584d41842213b
sourceBlobDigest: sha256:02e31a29ab21ef9ee74e6847d245d1b8719f801a879a71e3aa4504302c7c73cd
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:0bb81f8068479c43445eabefc27e68ce7199390a5829673ac0ff7ad3d7d8622b
codeSamplesRevisionDigest: sha256:80d4cbb37d041b69296bc9aa66cabc5e7602f97b069598662e54e15de0ee34a7
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 @@ -3179,4 +3179,14 @@ Based on:
### Generated
- [python v1.3.41] .
### Releases
- [PyPI v1.3.41] https://pypi.org/project/openrouter/1.3.41 - .
- [PyPI v1.3.41] https://pypi.org/project/openrouter/1.3.41 - .

## 2026-10-10 17:07:10
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.42] .
### Releases
- [PyPI v1.3.42] https://pypi.org/project/openrouter/1.3.42 - .
20 changes: 20 additions & 0 deletions docs/components/additionaltoolsitemallowedcaller.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: "AdditionalToolsItemAllowedCaller"
---

## Example Usage

```python
from openrouter.components import AdditionalToolsItemAllowedCaller

# Open enum: unrecognized values are captured as UnrecognizedStr
value: AdditionalToolsItemAllowedCaller = "direct"
```


## Values

This is an open enum. Unrecognized values will not fail type checks.

- `"direct"`
- `"programmatic"`
4 changes: 3 additions & 1 deletion docs/components/additionaltoolsitemtoolfunction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ Function tool definition
| `parameters` | Dict[str, *Any*] | ✅ | N/A | |
| `strict` | *OptionalNullable[bool]* | ➖ | N/A | |
| `type` | [components.AdditionalToolsItemTypeFunction](../components/additionaltoolsitemtypefunction.mdx) | ✅ | N/A | |
| `allowed_callers` | List[[components.AdditionalToolsItemAllowedCaller](../components/additionaltoolsitemallowedcaller.mdx)] | ➖ | N/A | |
| `async_` | *Optional[bool]* | ➖ | 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. | true |
| `defer_loading` | *Optional[bool]* | ➖ | 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. | true |
| `defer_loading` | *Optional[bool]* | ➖ | Withhold this tool from the model until `openrouter:tool_search` finds it. Where the request declares no search tool, OpenRouter may add `openrouter:tool_search` to serve the flag, and otherwise sends the tool in full. A request that declares the search tool itself must keep at least one tool non-deferred. | true |
| `output_schema` | Dict[str, *Any*] | ➖ | N/A | |
Loading