Skip to content

Commit a9fbf65

Browse files
committed
## Python SDK Changes:
* `open_router.containers.list_container_files()`: `request` **Changed** (Breaking ⚠️) * `open_router.containers.get_container_file()`: `request` **Changed** (Breaking ⚠️) * `open_router.containers.download_container_file_content()`: `request` **Changed** (Breaking ⚠️) * `open_router.presets.create_presets_messages()`: * `request.messages[].content.union(Array<>)[]` **Changed** * `open_router.presets.create_presets_responses()`: * `request.input.union(Array<>)[]` **Changed** * `open_router.responses.send()`: * `request.input.union(Array<>)[]` **Changed** * `response` **Changed** * `open_router.beta.responses.send()`: * `request.input.union(Array<>)[]` **Changed** * `response` **Changed**
1 parent 2bade44 commit a9fbf65

57 files changed

Lines changed: 1130 additions & 441 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.speakeasy/gen.lock‎

Lines changed: 134 additions & 95 deletions
Large diffs are not rendered by default.

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.1.75
39+
version: 1.1.76
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

‎.speakeasy/out.openapi.yaml‎

Lines changed: 238 additions & 28 deletions
Large diffs are not rendered by default.

‎.speakeasy/workflow.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:bf5cb8b155fdc50b0699b68828ae28f42a757dfb66ad956275d2706fdecff569
6-
sourceBlobDigest: sha256:2a524a9436cc91ff2c06c562f6971a7c638a48881611d7d8627bb0a075e17745
5+
sourceRevisionDigest: sha256:7b4e8be79ce173cf2faa1976c20c00950860794151e639da897ccbdc572931ac
6+
sourceBlobDigest: sha256:e03d85f26ff90565812046a26f9039130ee61f109a1294e40c69b05df64d6955
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:bf5cb8b155fdc50b0699b68828ae28f42a757dfb66ad956275d2706fdecff569
15-
sourceBlobDigest: sha256:2a524a9436cc91ff2c06c562f6971a7c638a48881611d7d8627bb0a075e17745
14+
sourceRevisionDigest: sha256:7b4e8be79ce173cf2faa1976c20c00950860794151e639da897ccbdc572931ac
15+
sourceBlobDigest: sha256:e03d85f26ff90565812046a26f9039130ee61f109a1294e40c69b05df64d6955
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:98396f67aa7e2da3e21791589b6c51c4e487c0eab41f9602228ad155140eb808
17+
codeSamplesRevisionDigest: sha256:b7825e3933569aeb010f4102dfba37d87abee17e7ba96ef800f8c3c411172d81
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

‎RELEASES.md‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,4 +1539,14 @@ Based on:
15391539
### Generated
15401540
- [python v1.1.75] .
15411541
### Releases
1542-
- [PyPI v1.1.75] https://pypi.org/project/openrouter/1.1.75 - .
1542+
- [PyPI v1.1.75] https://pypi.org/project/openrouter/1.1.75 - .
1543+
1544+
## 2026-08-24 04:07:34
1545+
### Changes
1546+
Based on:
1547+
- OpenAPI Doc
1548+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
1549+
### Generated
1550+
- [python v1.1.76] .
1551+
### Releases
1552+
- [PyPI v1.1.76] https://pypi.org/project/openrouter/1.1.76 - .

‎docs/components/chatcontentfile.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ File content part for document processing
99

1010
| Field | Type | Required | Description |
1111
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
12-
| `file` | [components.File](../components/file.mdx) | :heavy_check_mark: | N/A |
12+
| `file` | [components.ChatContentFileFile](../components/chatcontentfilefile.mdx) | :heavy_check_mark: | N/A |
1313
| `type` | [components.ChatContentFileType](../components/chatcontentfiletype.mdx) | :heavy_check_mark: | N/A |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "File"
2+
title: "ChatContentFileFile"
33
---
44

55
## Fields

‎docs/components/containerfile.mdx‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ title: "ContainerFile"
44

55
## Fields
66

7-
| Field | Type | Required | Description | Example |
8-
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
9-
| `bytes_` | *int* | :heavy_check_mark: | File size in bytes. | 123 |
10-
| `container_id` | *str* | :heavy_check_mark: | The container the file belongs to — echoes the `session_id` path parameter (OpenAI field name). | sess-abc123 |
11-
| `created_at` | *int* | :heavy_check_mark: | Unix timestamp (seconds) when the file was last synced. | 1755640000 |
12-
| `id` | *str* | :heavy_check_mark: | Container file id: `cfile_` + base64url of the file path. | cfile_b3V0L3JlcG9ydC5jc3Y |
13-
| `object` | [components.ContainerFileObject](../components/containerfileobject.mdx) | :heavy_check_mark: | N/A | container.file |
14-
| `path` | *str* | :heavy_check_mark: | Session-relative file path inside the container. | out/report.csv |
15-
| `source` | [components.ContainerFileSource](../components/containerfilesource.mdx) | :heavy_check_mark: | Container files are always produced by the assistant sandbox. | assistant |
7+
| Field | Type | Required | Description | Example |
8+
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
9+
| `bytes_` | *int* | :heavy_check_mark: | File size in bytes. | 123 |
10+
| `container_id` | *str* | :heavy_check_mark: | The container the file belongs to — echoes the `container_id` path parameter (OpenAI field name). | sess_abc123 |
11+
| `created_at` | *int* | :heavy_check_mark: | Unix timestamp (seconds) when the file was last synced. | 1755640000 |
12+
| `id` | *str* | :heavy_check_mark: | Container file id: `cfile_` + base64url of the file path. | cfile_b3V0L3JlcG9ydC5jc3Y |
13+
| `object` | [components.ContainerFileObject](../components/containerfileobject.mdx) | :heavy_check_mark: | N/A | container.file |
14+
| `path` | *str* | :heavy_check_mark: | Container-relative file path. | out/report.csv |
15+
| `source` | [components.ContainerFileSource](../components/containerfilesource.mdx) | :heavy_check_mark: | Container files are always produced by the assistant sandbox. | assistant |

0 commit comments

Comments
 (0)