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
21 changes: 10 additions & 11 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: c48cf606-fb42-4a45-9c23-8f0555307828
management:
docChecksum: 2434d5160187a6ae7c71b2e9bad17de8
docChecksum: 48d5a81172df7e47f0a05fd4a90ce217
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.4
configChecksum: 027eee401633037af6be73f65d9247c5
releaseVersion: 1.1.5
configChecksum: 366ee98787158293e8d90134db38bd17
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 7ecddae6-8bad-43ba-8332-93ae1146d05e
pristine_commit_hash: 173c7cab1d0ed716c50c41e70c54143e53705fa9
pristine_tree_hash: c53479998d8039592bc56dbfa9c254d89a54fabd
generation_id: c0de5ec0-83f9-4bc0-a0fc-b6923ac4f43d
pristine_commit_hash: c2a5bb7caed893bd0d62131d4d2e04db8a162db2
pristine_tree_hash: c37a7a6d463a342ca36da91f1ded0c85a852aa5f
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -6794,8 +6794,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:a8ed1f37c4b26cdf008c3b699e888693c7bbc876
pristine_git_object: 4a72e3026083e01a2947d1dc8f966eb76a144432
last_write_checksum: sha1:cd60d35abf54ca3250cf89188a1083620ec7f26d
pristine_git_object: 5359be57c68bde0baa392e275381c906a0691d0a
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -6822,8 +6822,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:c56e4ea9aa34c66504fc607be73517cb2d561529
pristine_git_object: a2c6d09a03f7b79e5fbfb6abb37e327542235604
last_write_checksum: sha1:7ed944ea23e58377537ef854af17f5a96ac80b8e
pristine_git_object: d1b834456918071dc73a76b4e3166b2d1e1f1086
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:9e709b71dd0611056dc0cec6150b578defe32841
Expand Down Expand Up @@ -11329,4 +11329,3 @@ examples:
"500":
application/json: {"error": {"code": 500, "message": "Internal Server Error"}}
examplesVersion: 1.0.2
releaseNotes: "## Python SDK Changes:\n* `open_router.beta.responses.send()`: \n * `request.input.union(Array<>)[].union(ReasoningItem).format.enum(bedrock_openai_responses_v1)` **Added**\n * `response` **Changed**\n* `open_router.chat.send()`: \n * `request.messages[].union(assistant).reasoning_details[].union(reasoning.server_tool_call).format.enum(bedrock_openai_responses_v1)` **Added**\n * `response` **Changed**\n* `open_router.presets.create_presets_chat_completions()`: \n * `request.messages[].union(assistant).reasoning_details[].union(reasoning.summary).format.enum(bedrock_openai_responses_v1)` **Added**\n* `open_router.presets.create_presets_responses()`: \n * `request.input.union(Array<>)[].union(ReasoningItem).format.enum(bedrock_openai_responses_v1)` **Added**\n* `open_router.responses.send()`: \n * `request.input.union(Array<>)[].union(ReasoningItem).format.enum(bedrock_openai_responses_v1)` **Added**\n * `response` **Changed**\n"
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.1.4
version: 1.1.5
additionalDependencies:
dev: {}
main: {}
Expand Down
6 changes: 5 additions & 1 deletion .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27214,8 +27214,10 @@ paths:
x-speakeasy-unknown-values: allow
input:
anyOf:
- type: 'string'
- minLength: 1
type: 'string'
- items:
minLength: 1
type: 'string'
type: 'array'
- items:
Expand All @@ -27233,6 +27235,7 @@ paths:
oneOf:
- properties:
text:
minLength: 1
type: 'string'
type:
enum:
Expand Down Expand Up @@ -27261,6 +27264,7 @@ paths:
- $ref: '#/components/schemas/ContentPartInputAudio'
- $ref: '#/components/schemas/ContentPartInputVideo'
- $ref: '#/components/schemas/ContentPartInputFile'
minItems: 1
type: 'array'
required:
- 'content'
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:72ac1243bd2e17e3337be190f5e902c49951a8442481c6bf3552c4445fe22ce9
sourceBlobDigest: sha256:92510bc6988fd692810955a362fccd9706073d446db4e9569755e9a869e1efad
sourceRevisionDigest: sha256:425a3cee66f9488d3ce54957205ad04204aebe71268135e56d167d988d73cea5
sourceBlobDigest: sha256:9263140a95dff45663a8fe5abe0f1eadaa305d0cefdcc05286fdafc7e794b6f0
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:72ac1243bd2e17e3337be190f5e902c49951a8442481c6bf3552c4445fe22ce9
sourceBlobDigest: sha256:92510bc6988fd692810955a362fccd9706073d446db4e9569755e9a869e1efad
sourceRevisionDigest: sha256:425a3cee66f9488d3ce54957205ad04204aebe71268135e56d167d988d73cea5
sourceBlobDigest: sha256:9263140a95dff45663a8fe5abe0f1eadaa305d0cefdcc05286fdafc7e794b6f0
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:437827992f81765d44bd2165f4b79b8db0642e056744c6572bc16902090d6dd6
codeSamplesRevisionDigest: sha256:98d258b409c6acdf2cfaf3680fb5d2aa477502ad85c9200da10aca720ef8adfd
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 @@ -839,4 +839,14 @@ Based on:
### Generated
- [python v1.1.4] .
### Releases
- [PyPI v1.1.4] https://pypi.org/project/openrouter/1.1.4 - .
- [PyPI v1.1.4] https://pypi.org/project/openrouter/1.1.4 - .

## 2026-07-27 23:22:08
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.5] .
### Releases
- [PyPI v1.1.5] https://pypi.org/project/openrouter/1.1.5 - .
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openrouter"
version = "1.1.4"
version = "1.1.5"
description = "Official Python Client SDK for OpenRouter."
authors = [{ name = "OpenRouter" },]
readme = "README-PYPI.md"
Expand Down
4 changes: 2 additions & 2 deletions src/openrouter/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import importlib.metadata

__title__: str = "openrouter"
__version__: str = "1.1.4"
__version__: str = "1.1.5"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.4 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.5 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading