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
23 changes: 10 additions & 13 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: e2314259eff8ee88d6c55deb629ae2a9
docChecksum: b50edb303a275cd87528559fa56a9f23
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.2.1
configChecksum: fa5434c574e7e2d8c0076c67b73d5c13
releaseVersion: 1.2.2
configChecksum: f59aacfc0651c61a9fc72baa8dd7804a
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 6b696c29-f3d4-42fc-9272-a0d6fa52d333
pristine_commit_hash: d503d4500dcdb8a0fd59136cd6264882f26be99b
pristine_tree_hash: dc446563812cd7e8cd37f4ab4ea53c3ca9b89fe3
generation_id: c9534058-2165-4649-a72f-2119e436b427
pristine_commit_hash: 44783a354d54bd8233f5daff2b0b59b41b3d3a43
pristine_tree_hash: 509d8ec43d574910bf9c0480151873c9fd9fc0a4
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -8159,8 +8159,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:2c0f6a412446ae1d34622bb1b2a125f0e804bd28
pristine_git_object: e6efa5ca864b84ff60d6911c303e88198d5c9aee
last_write_checksum: sha1:9afc3fd39db73dc4ebc9191ca2f946f7d0fb314f
pristine_git_object: e226a37cb10351e696db48eaa6c6756d8b606fd1
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -8187,8 +8187,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:9590c21e06b841ae22746ef15c526101f4e75ad7
pristine_git_object: b3b894b5fad171516358f6fb1746c7cf6647e345
last_write_checksum: sha1:6fff83400b77ac7544e0264ec4947cf99d180892
pristine_git_object: d221360b25686132fe7f6ceba3fda75bc2a14bcb
src/openrouter/alpha.py:
id: 306c4d93308d
last_write_checksum: sha1:0c25a52ed5fb688ec1e923e4e82bcfc9cae49465
Expand Down Expand Up @@ -14941,6 +14941,3 @@ examples:
"502":
application/json: {"error": {"code": 409, "message": "That question is no longer waiting for an answer."}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.api_keys.get_current_key_metadata()`: `response.data` **Changed**
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.2.1
version: 1.2.2
additionalDependencies:
dev: {}
main: {}
Expand Down
17 changes: 12 additions & 5 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36570,13 +36570,20 @@ paths:
'409':
content:
application/json:
example:
error:
code: 'idempotency_key_reused'
message: 'This Idempotency-Key was already used with a different request'
examples:
idempotency_key_reused:
value:
error:
code: 'idempotency_key_reused'
message: 'This Idempotency-Key was already used with a different request'
name_taken:
value:
error:
code: 'name_taken'
message: 'An intern named "research-assistant" already exists in this workspace'
schema:
$ref: '#/components/schemas/InternLifecycleError'
description: 'The idempotency key was reused, the member reached the intern limit, or the requested vault cannot be attached.'
description: 'The idempotency key was reused, the intern name is already taken in the workspace, the member reached the intern limit, or the requested vault cannot be attached.'
'413':
content:
application/json:
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:9a0babad8049432078d06887c716fcd3d4a84f1bbbe73b0680e510bb2660572d
sourceBlobDigest: sha256:03d08976d59059a2485b0a1e68747858f26e84ccb311113d90b071d55dab67a1
sourceRevisionDigest: sha256:2a5f58c93ded285d2ea44843c2be64279bf9f883f2507c941cd7c3e6fffc1cf6
sourceBlobDigest: sha256:b675b6683675edd5bbfb18635aa9b01a0aef7c99e2360292069370339c7d1577
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:9a0babad8049432078d06887c716fcd3d4a84f1bbbe73b0680e510bb2660572d
sourceBlobDigest: sha256:03d08976d59059a2485b0a1e68747858f26e84ccb311113d90b071d55dab67a1
sourceRevisionDigest: sha256:2a5f58c93ded285d2ea44843c2be64279bf9f883f2507c941cd7c3e6fffc1cf6
sourceBlobDigest: sha256:b675b6683675edd5bbfb18635aa9b01a0aef7c99e2360292069370339c7d1577
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:2a45069052ff86526e25f13acf120bed62bf5c6a39ca25bc1786992c121c34d5
codeSamplesRevisionDigest: sha256:346062ca02f81ae3d976e78102fdc231b473c80fd7327c0a48b1023cadb5e99a
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 @@ -2419,4 +2419,14 @@ Based on:
### Generated
- [python v1.2.1] .
### Releases
- [PyPI v1.2.1] https://pypi.org/project/openrouter/1.2.1 - .
- [PyPI v1.2.1] https://pypi.org/project/openrouter/1.2.1 - .

## 2026-09-19 13:55:47
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.2.2] .
### Releases
- [PyPI v1.2.2] https://pypi.org/project/openrouter/1.2.2 - .
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.2.1"
version = "1.2.2"
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.2.1"
__version__: str = "1.2.2"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.2.1 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.2.2 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