mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-11 11:22:22 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fbc76c779e | ||
|
|
9454ae7365 | ||
|
|
7b4b9feaa5 | ||
|
|
add423f762 | ||
|
|
c34ce15fa2 | ||
|
|
8e637041c4 |
@@ -5,7 +5,7 @@ name: Auto-merge Speakeasy PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [labeled]
|
||||
types: [labeled, opened]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -22,7 +22,13 @@ jobs:
|
||||
github.event.pull_request.user.login == 'github-actions[bot]' &&
|
||||
startsWith(github.event.pull_request.head.ref, 'speakeasy-sdk-regen-') &&
|
||||
contains(github.event.pull_request.title, '🐝 Update SDK') &&
|
||||
contains(fromJSON('["patch", "minor", "major"]'), github.event.label.name)
|
||||
(
|
||||
(github.event.action == 'labeled' && contains(fromJSON('["patch", "minor", "major"]'), github.event.label.name)) ||
|
||||
(github.event.action == 'opened' &&
|
||||
(contains(github.event.pull_request.labels.*.name, 'patch') ||
|
||||
contains(github.event.pull_request.labels.*.name, 'minor') ||
|
||||
contains(github.event.pull_request.labels.*.name, 'major')))
|
||||
)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Close superseded Speakeasy PRs
|
||||
|
||||
+30
-30
@@ -1,7 +1,7 @@
|
||||
lockVersion: 2.0.0
|
||||
id: c48cf606-fb42-4a45-9c23-8f0555307828
|
||||
management:
|
||||
docChecksum: b391df2d82163351d8df7c152db16d55
|
||||
docChecksum: a8ac206fd4d6c2a1336d9d65e35988c0
|
||||
docVersion: 1.0.0
|
||||
speakeasyVersion: 1.680.0
|
||||
generationVersion: 2.788.4
|
||||
@@ -11,9 +11,9 @@ management:
|
||||
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
|
||||
published: true
|
||||
persistentEdits:
|
||||
generation_id: 5b413f59-637c-4b8e-af52-4ce67ebe1508
|
||||
pristine_commit_hash: 39a84a2b48a1853daeb784df3ce2c6bb1cbb4b3a
|
||||
pristine_tree_hash: 2127b8a2fdbdd0e70f0a7ed87d1d4b25ca2e82ed
|
||||
generation_id: abb906fe-f1e6-4836-ab0d-65a3aa53024c
|
||||
pristine_commit_hash: d8b83213f131c51b08d343960443188822f7e43d
|
||||
pristine_tree_hash: efb6e09e141797febaca6535c4612226426a8e8c
|
||||
features:
|
||||
python:
|
||||
acceptHeaders: 3.0.0
|
||||
@@ -118,8 +118,8 @@ trackedFiles:
|
||||
pristine_git_object: 123091224cbc4d87e2e01748e013618f2d142632
|
||||
docs/components/advisorreasoningeffort.md:
|
||||
id: 8b65bf21bf5d
|
||||
last_write_checksum: sha1:ffd01ce6c48ad3d25fb92083622f94c855ed2dea
|
||||
pristine_git_object: 70c97a14813005cfafcc7e2d132921d3e95fb7bc
|
||||
last_write_checksum: sha1:ae1a31169657770ac54bd15b8b9ba99dec447546
|
||||
pristine_git_object: 8828292d4f0692af00fefc00ae0a702cb151d2f1
|
||||
docs/components/advisorservertoolconfig.md:
|
||||
id: 9a630ec9486f
|
||||
last_write_checksum: sha1:b01e3db43dd70ddca3a7bb093b99f5b14c669835
|
||||
@@ -854,8 +854,8 @@ trackedFiles:
|
||||
pristine_git_object: 6c832606b0e983d2efd7cc6e3bec98d70e7fc603
|
||||
docs/components/chatrequesteffort.md:
|
||||
id: 244b6cbbd2e1
|
||||
last_write_checksum: sha1:232d283adecdffb3fd73e052f4913320c9d0b997
|
||||
pristine_git_object: ed30f437a84f7ae8508545aefa44198935377768
|
||||
last_write_checksum: sha1:f9ce1e4a1c3f705b673808b35750af7b71b158ca
|
||||
pristine_git_object: 26c09f0c5ae097d1373b8e5c721a4606765d5c99
|
||||
docs/components/chatrequestplugin.md:
|
||||
id: 24a908f99472
|
||||
last_write_checksum: sha1:0d96c14c2f1675e1bc3cdea7b70a82385a5bc117
|
||||
@@ -866,8 +866,8 @@ trackedFiles:
|
||||
pristine_git_object: baa1fb1a1f855f0ea648d44b8cb4c52185efe77d
|
||||
docs/components/chatrequestreasoningeffort.md:
|
||||
id: d91e84590d64
|
||||
last_write_checksum: sha1:e05ffa6a13566055170ad3490b2114c7f8215c70
|
||||
pristine_git_object: ab2eb8e2084efaee1528e74f2de35166d9bbf05e
|
||||
last_write_checksum: sha1:b72a0292fdffaf77b2531a155ca00d6d46405746
|
||||
pristine_git_object: 475f655086e1ec97e9b7aadc35ea4977da9e32dd
|
||||
docs/components/chatrequestservicetier.md:
|
||||
id: deaf591bec38
|
||||
last_write_checksum: sha1:8fa53b0f868c99934b83719b7c0b6b44b1f960eb
|
||||
@@ -1402,8 +1402,8 @@ trackedFiles:
|
||||
pristine_git_object: 870296bd3335da46ecdf4ec1722a3d47037a09c9
|
||||
docs/components/defaulteffort.md:
|
||||
id: 08dabde07c1d
|
||||
last_write_checksum: sha1:96f06eb8b68e44984b691338b99e746fef1253ac
|
||||
pristine_git_object: f3f07f26e47692dd4e6a728e45f32cfe5795082e
|
||||
last_write_checksum: sha1:0a1d4ee947c22010f9bb2cb66a52a0bbb2011e00
|
||||
pristine_git_object: 871219eaf7153f1027be70d26b1f667444a6fb17
|
||||
docs/components/defaultparameters.md:
|
||||
id: a84477afcaec
|
||||
last_write_checksum: sha1:a20e8b576e341dbcdb91884b8fc83cf4316ab106
|
||||
@@ -1846,8 +1846,8 @@ trackedFiles:
|
||||
pristine_git_object: b243b885cd9572d61cb63f2364f924a0751b19fa
|
||||
docs/components/fusionservertoolconfigeffort.md:
|
||||
id: 897b52512b1c
|
||||
last_write_checksum: sha1:3d2f3e019eee3c6bf4aedba909f7a92740d21225
|
||||
pristine_git_object: c7578213d3c65bdf579321a08c84d8f4c1de59a6
|
||||
last_write_checksum: sha1:2bb8798736eeb5504615ae93293601042af679cd
|
||||
pristine_git_object: 3e3f9ac35f973801cf9cc5be1ac29e9916074377
|
||||
docs/components/fusionservertoolconfigreasoning.md:
|
||||
id: 349d14075b51
|
||||
last_write_checksum: sha1:9c650a736d7b96f193e6d24da5e82b7aa24ba39e
|
||||
@@ -3690,8 +3690,8 @@ trackedFiles:
|
||||
pristine_git_object: 31d997aa9e0721cacdebfeb79ce3428d5ec79bf0
|
||||
docs/components/reasoningeffort.md:
|
||||
id: ea6dba24a061
|
||||
last_write_checksum: sha1:1a34f59ecfdc631ed846c0e33951b52d2a86beae
|
||||
pristine_git_object: 9fb0ddf227e42c634f5c435a2749db2e7effbf45
|
||||
last_write_checksum: sha1:53d8315d1f29bca1071672fbe583cad08f1cec81
|
||||
pristine_git_object: 225df68e53d3632bcd740e4f821d4f14233be403
|
||||
docs/components/reasoningformat.md:
|
||||
id: c0483881ee4e
|
||||
last_write_checksum: sha1:45038411b97c73c37fa000694770b06d13b0eb4b
|
||||
@@ -4158,8 +4158,8 @@ trackedFiles:
|
||||
pristine_git_object: 3e49330ffc6e7ae403873cfe3e8297ad188bcafa
|
||||
docs/components/subagentreasoningeffort.md:
|
||||
id: 068a2b1e59c4
|
||||
last_write_checksum: sha1:6b27ed5774615473f501ec7bf18c1524c99e4002
|
||||
pristine_git_object: fe29f80f29f7137d07401b4d25def11360a70a32
|
||||
last_write_checksum: sha1:6dbeef8db7e15799fd0f87d4965ba5613a388396
|
||||
pristine_git_object: 57b95be94ff3162b0601124a9d6d9b49f49eecaf
|
||||
docs/components/subagentservertoolconfig.md:
|
||||
id: 07f1740a203f
|
||||
last_write_checksum: sha1:3175e6b1db4977f98195f30c6e2391092bc017ff
|
||||
@@ -6130,8 +6130,8 @@ trackedFiles:
|
||||
pristine_git_object: e21d2d2322aad32dabda485132c4046d2ec6de89
|
||||
src/openrouter/components/advisorreasoning.py:
|
||||
id: d5af5c19fc73
|
||||
last_write_checksum: sha1:ee69d03c9da3a6b9b42c3e6525d21d9c1910cfa1
|
||||
pristine_git_object: 7376346542022324ca4d8475237e78346ee607dc
|
||||
last_write_checksum: sha1:db9d67036b51e37b98ea76b383528af3d48f6ca6
|
||||
pristine_git_object: a2ab43864d385b5554fc911cc9ee9ebe9893c10f
|
||||
src/openrouter/components/advisorservertool_openrouter.py:
|
||||
id: 4442cd9ad387
|
||||
last_write_checksum: sha1:c1825628e0bbba268e5addad89e7abe6e45b2926
|
||||
@@ -6502,8 +6502,8 @@ trackedFiles:
|
||||
pristine_git_object: 8bbde153b53887e426989fd5b0486b6dc1122810
|
||||
src/openrouter/components/chatrequest.py:
|
||||
id: 5e39eaefa9cf
|
||||
last_write_checksum: sha1:65012c617dd06019eb4bf62d04c434ebfb23adcc
|
||||
pristine_git_object: f90c290577966b6fc85afaf1634b2413b02661b6
|
||||
last_write_checksum: sha1:eb9f865918863ceb12508060f3bc8605f3a9a87a
|
||||
pristine_git_object: f60f367c641cb92d48bbc2873bba0704800165d9
|
||||
src/openrouter/components/chatresult.py:
|
||||
id: 9062fe2935fe
|
||||
last_write_checksum: sha1:b44dc25412b1206cc188d9516191a273d0f3e4dc
|
||||
@@ -6910,8 +6910,8 @@ trackedFiles:
|
||||
pristine_git_object: 5729ea0c31a0ce7283a77316282ea77c91f13ae3
|
||||
src/openrouter/components/fusionservertoolconfig.py:
|
||||
id: 0d1d229c531f
|
||||
last_write_checksum: sha1:9f013aa6431316312a04ad960d3ef26d0a341356
|
||||
pristine_git_object: 4eae6cf00e69b060b3a99ef75ccc7a3762de37d0
|
||||
last_write_checksum: sha1:620671fb147ba5a006cf1444f833c1e6f26ba8fa
|
||||
pristine_git_object: 7e1442b9cf9fc0a81f7450e0efbe1448aa85ceb1
|
||||
src/openrouter/components/generationcontentdata.py:
|
||||
id: 0140215b5b46
|
||||
last_write_checksum: sha1:09e15ae2acc4f44084e2206ea51e6a06f4c5ee11
|
||||
@@ -7178,8 +7178,8 @@ trackedFiles:
|
||||
pristine_git_object: c197cb2c527296adff2c3cfd9e49bcbc48087ce7
|
||||
src/openrouter/components/modelreasoning.py:
|
||||
id: 58bb3f2d75e0
|
||||
last_write_checksum: sha1:3da126ae596520b6d4f0edcc7fb8e4f786f686c7
|
||||
pristine_git_object: b71947b65e2054b23ff2094a270763720e740d96
|
||||
last_write_checksum: sha1:d7decd330533b566bda99e6b4b5e120970cf61f1
|
||||
pristine_git_object: fa73b90a1b4b140d6b9ceb9ac284142c4d95e4d7
|
||||
src/openrouter/components/modelresponse.py:
|
||||
id: 023136e6dedf
|
||||
last_write_checksum: sha1:af84587984cbe6341f59f176b08df43096ac48c6
|
||||
@@ -7646,8 +7646,8 @@ trackedFiles:
|
||||
pristine_git_object: 29c0fc9a1ff14d26fc99a70bac491ce3b4240384
|
||||
src/openrouter/components/reasoningeffort.py:
|
||||
id: cadb8da93572
|
||||
last_write_checksum: sha1:a4d9c3c61ccfc2842592ca33d310b15b60bf9a10
|
||||
pristine_git_object: 3cf5b2e32d9b73277c73db6141e841f416fba384
|
||||
last_write_checksum: sha1:f0cac6530b869890e30631e9d42eedae0f2a5be8
|
||||
pristine_git_object: fe3562c76fc28d2f8cacd49a12c0a0500b069147
|
||||
src/openrouter/components/reasoningformat.py:
|
||||
id: 99d79e5500b6
|
||||
last_write_checksum: sha1:bfb111196309079ff8dcb09ab406d08a3a809e67
|
||||
@@ -7870,8 +7870,8 @@ trackedFiles:
|
||||
pristine_git_object: 8e1417b1cf116bf26060143dcab214d2623bddcf
|
||||
src/openrouter/components/subagentreasoning.py:
|
||||
id: 2715ebf26eb3
|
||||
last_write_checksum: sha1:40e3041f4cf9ac8b4371e6351686cbf537d17da1
|
||||
pristine_git_object: 1eb4e862985164f2e48b53dd0119d42bf8bed25e
|
||||
last_write_checksum: sha1:ce0a8989c3e42612edf46770a0039aca05b949de
|
||||
pristine_git_object: d2d508152e2a4339602d010776894f76210b3abf
|
||||
src/openrouter/components/subagentservertool_openrouter.py:
|
||||
id: f08524c6985a
|
||||
last_write_checksum: sha1:771b71aae9989727ea3564615f06da7f08431705
|
||||
|
||||
@@ -156,6 +156,7 @@ components:
|
||||
effort:
|
||||
description: Reasoning effort level for the advisor call.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -4745,6 +4746,7 @@ components:
|
||||
effort:
|
||||
description: Constrains effort on reasoning for reasoning models
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -4763,6 +4765,7 @@ components:
|
||||
Shorthand for setting reasoning effort. Equivalent to setting reasoning.effort. Cannot be used
|
||||
simultaneously with reasoning.effort if they differ.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -8205,6 +8208,7 @@ components:
|
||||
effort:
|
||||
description: Reasoning effort level for panelist and judge inner calls.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -18462,6 +18466,7 @@ components:
|
||||
type: response.reasoning_text.done
|
||||
ReasoningEffort:
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -19922,6 +19927,7 @@ components:
|
||||
effort:
|
||||
description: Reasoning effort level for the subagent call.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
|
||||
@@ -175,6 +175,7 @@ components:
|
||||
effort:
|
||||
description: Reasoning effort level for the advisor call.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -4742,6 +4743,7 @@ components:
|
||||
effort:
|
||||
description: Constrains effort on reasoning for reasoning models
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -4760,6 +4762,7 @@ components:
|
||||
description: >-
|
||||
Shorthand for setting reasoning effort. Equivalent to setting reasoning.effort. Cannot be used simultaneously with reasoning.effort if they differ.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -8158,6 +8161,7 @@ components:
|
||||
effort:
|
||||
description: Reasoning effort level for panelist and judge inner calls.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -18353,6 +18357,7 @@ components:
|
||||
type: response.reasoning_text.done
|
||||
ReasoningEffort:
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
@@ -19805,6 +19810,7 @@ components:
|
||||
effort:
|
||||
description: Reasoning effort level for the subagent call.
|
||||
enum:
|
||||
- max
|
||||
- xhigh
|
||||
- high
|
||||
- medium
|
||||
|
||||
@@ -2,20 +2,20 @@ speakeasyVersion: 1.680.0
|
||||
sources:
|
||||
OpenRouter API:
|
||||
sourceNamespace: open-router-chat-completions-api
|
||||
sourceRevisionDigest: sha256:1e8bbe0cea645a95cb24c3e0061459d903aca98286d2c74de7cb8359b8c3c29d
|
||||
sourceBlobDigest: sha256:42b4b8df42026cfc885ee4b34e7a30aaa906f40dc6ad99ea9e6c65e4bad495de
|
||||
sourceRevisionDigest: sha256:e723fd6d93d1675f10180ae0294e31a5f58f3492260b2afb840c9d21afe73fa5
|
||||
sourceBlobDigest: sha256:e0cae9ca4d8bd6326bf2af1bc0b1444b9819a634698e848acf6831bcd7391c36
|
||||
tags:
|
||||
- latest
|
||||
- speakeasy-sdk-regen-1781885111
|
||||
- speakeasy-sdk-regen-1782146304
|
||||
- 1.0.0
|
||||
targets:
|
||||
open-router:
|
||||
source: OpenRouter API
|
||||
sourceNamespace: open-router-chat-completions-api
|
||||
sourceRevisionDigest: sha256:1e8bbe0cea645a95cb24c3e0061459d903aca98286d2c74de7cb8359b8c3c29d
|
||||
sourceBlobDigest: sha256:42b4b8df42026cfc885ee4b34e7a30aaa906f40dc6ad99ea9e6c65e4bad495de
|
||||
sourceRevisionDigest: sha256:e723fd6d93d1675f10180ae0294e31a5f58f3492260b2afb840c9d21afe73fa5
|
||||
sourceBlobDigest: sha256:e0cae9ca4d8bd6326bf2af1bc0b1444b9819a634698e848acf6831bcd7391c36
|
||||
codeSamplesNamespace: open-router-python-code-samples
|
||||
codeSamplesRevisionDigest: sha256:a16acd4648a2b2c90df0256551f25bb6515c70ea239dba657f07fce770e459d5
|
||||
codeSamplesRevisionDigest: sha256:18d9a2a331754321fc8bb0067e344794777799ec325b28bdd67548c0d0f3bbe1
|
||||
workflow:
|
||||
workflowVersion: 1.0.0
|
||||
speakeasyVersion: 1.680.0
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ Based on:
|
||||
### Releases
|
||||
- [PyPI v0.10.0] https://pypi.org/project/openrouter/0.10.0 - .
|
||||
|
||||
## 2026-06-22 00:59:00
|
||||
## 2026-06-22 16:46:58
|
||||
### Changes
|
||||
Based on:
|
||||
- OpenAPI Doc
|
||||
|
||||
@@ -10,6 +10,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
AdvisorReasoningEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
|
||||
@@ -106,6 +106,7 @@ ChatRequestPlugin = Annotated[
|
||||
|
||||
ChatRequestEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
@@ -172,6 +173,7 @@ class ChatRequestReasoning(BaseModel):
|
||||
|
||||
ChatRequestReasoningEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
|
||||
@@ -10,6 +10,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
FusionServerToolConfigEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
|
||||
@@ -19,6 +19,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
DefaultEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
|
||||
@@ -7,6 +7,7 @@ from typing import Literal, Union
|
||||
|
||||
ReasoningEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
|
||||
@@ -10,6 +10,7 @@ from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
SubagentReasoningEffort = Union[
|
||||
Literal[
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
|
||||
Reference in New Issue
Block a user