mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-02 12:50:48 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7b8f5941c8 |
+3
-3
@@ -1,12 +1,12 @@
|
|||||||
lockVersion: 2.0.0
|
lockVersion: 2.0.0
|
||||||
id: cfd52247-6a25-4c6d-bbce-fe6fce0cd69d
|
id: cfd52247-6a25-4c6d-bbce-fe6fce0cd69d
|
||||||
management:
|
management:
|
||||||
docChecksum: 3733fc486836d444d30b7d3ac33fab93
|
docChecksum: 74d4d2140677e899c1489f39198ea464
|
||||||
docVersion: 1.0.0
|
docVersion: 1.0.0
|
||||||
speakeasyVersion: 1.666.0
|
speakeasyVersion: 1.666.0
|
||||||
generationVersion: 2.768.0
|
generationVersion: 2.768.0
|
||||||
releaseVersion: 0.7.12
|
releaseVersion: 0.8.0
|
||||||
configChecksum: 706cd700670d47927ea49b73ad135364
|
configChecksum: fd866e0d9d3fef2d1d0ef2a52689a406
|
||||||
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
|
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
|
||||||
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
|
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
|
||||||
published: true
|
published: true
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ generation:
|
|||||||
skipResponseBodyAssertions: false
|
skipResponseBodyAssertions: false
|
||||||
preApplyUnionDiscriminators: true
|
preApplyUnionDiscriminators: true
|
||||||
python:
|
python:
|
||||||
version: 0.7.12
|
version: 0.8.0
|
||||||
additionalDependencies:
|
additionalDependencies:
|
||||||
dev: {}
|
dev: {}
|
||||||
main: {}
|
main: {}
|
||||||
|
|||||||
@@ -4161,7 +4161,7 @@ components:
|
|||||||
ProviderName:
|
ProviderName:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
@@ -5787,7 +5787,7 @@ components:
|
|||||||
- Together 2
|
- Together 2
|
||||||
- Ubicloud
|
- Ubicloud
|
||||||
- 01.AI
|
- 01.AI
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
@@ -6849,7 +6849,7 @@ components:
|
|||||||
- Together 2
|
- Together 2
|
||||||
- Ubicloud
|
- Ubicloud
|
||||||
- 01.AI
|
- 01.AI
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
@@ -14479,7 +14479,7 @@ paths:
|
|||||||
- Together 2
|
- Together 2
|
||||||
- Ubicloud
|
- Ubicloud
|
||||||
- 01.AI
|
- 01.AI
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
|
|||||||
@@ -4190,7 +4190,7 @@ components:
|
|||||||
ProviderName:
|
ProviderName:
|
||||||
type: string
|
type: string
|
||||||
enum:
|
enum:
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
@@ -5806,7 +5806,7 @@ components:
|
|||||||
- Together 2
|
- Together 2
|
||||||
- Ubicloud
|
- Ubicloud
|
||||||
- 01.AI
|
- 01.AI
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
@@ -6878,7 +6878,7 @@ components:
|
|||||||
- Together 2
|
- Together 2
|
||||||
- Ubicloud
|
- Ubicloud
|
||||||
- 01.AI
|
- 01.AI
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
@@ -14542,7 +14542,7 @@ paths:
|
|||||||
- Together 2
|
- Together 2
|
||||||
- Ubicloud
|
- Ubicloud
|
||||||
- 01.AI
|
- 01.AI
|
||||||
- Akash
|
- AkashML
|
||||||
- AI21
|
- AI21
|
||||||
- AionLabs
|
- AionLabs
|
||||||
- Alibaba
|
- Alibaba
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ sources:
|
|||||||
- latest
|
- latest
|
||||||
OpenRouter API:
|
OpenRouter API:
|
||||||
sourceNamespace: open-router-chat-completions-api
|
sourceNamespace: open-router-chat-completions-api
|
||||||
sourceRevisionDigest: sha256:6b805ea430a51e0e4d11cd3b3165f9ff26b37973a0bba53ecc126f990d5fb707
|
sourceRevisionDigest: sha256:2fa3ed22056b6be20af56e6548a094381d1d32359ecdfec536c73556fc9717aa
|
||||||
sourceBlobDigest: sha256:65e20830b3e0a412d17017ce0c6c15a31e6069a7b273da22ea3880502725930e
|
sourceBlobDigest: sha256:f445d8b8c9319ec5f7ab85c2b6194692070cc259047254a08a6b1c127cef09dd
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- main
|
- main
|
||||||
@@ -18,10 +18,10 @@ targets:
|
|||||||
open-router:
|
open-router:
|
||||||
source: OpenRouter API
|
source: OpenRouter API
|
||||||
sourceNamespace: open-router-chat-completions-api
|
sourceNamespace: open-router-chat-completions-api
|
||||||
sourceRevisionDigest: sha256:6b805ea430a51e0e4d11cd3b3165f9ff26b37973a0bba53ecc126f990d5fb707
|
sourceRevisionDigest: sha256:2fa3ed22056b6be20af56e6548a094381d1d32359ecdfec536c73556fc9717aa
|
||||||
sourceBlobDigest: sha256:65e20830b3e0a412d17017ce0c6c15a31e6069a7b273da22ea3880502725930e
|
sourceBlobDigest: sha256:f445d8b8c9319ec5f7ab85c2b6194692070cc259047254a08a6b1c127cef09dd
|
||||||
codeSamplesNamespace: open-router-python-code-samples
|
codeSamplesNamespace: open-router-python-code-samples
|
||||||
codeSamplesRevisionDigest: sha256:44bca5099ff33e05a3f4e5acf8f83f48dc1d84efc8758381a528abcc871bc874
|
codeSamplesRevisionDigest: sha256:8c9d4cec31e4cfe341de1c43b2f557a838837aad7923f86a2eb62ae3c95d09a9
|
||||||
workflow:
|
workflow:
|
||||||
workflowVersion: 1.0.0
|
workflowVersion: 1.0.0
|
||||||
speakeasyVersion: 1.666.0
|
speakeasyVersion: 1.666.0
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
| Name | Value |
|
| Name | Value |
|
||||||
| ------------------- | ------------------- |
|
| ------------------- | ------------------- |
|
||||||
| `AKASH` | Akash |
|
| `AKASH_ML` | AkashML |
|
||||||
| `AI21` | AI21 |
|
| `AI21` | AI21 |
|
||||||
| `AION_LABS` | AionLabs |
|
| `AION_LABS` | AionLabs |
|
||||||
| `ALIBABA` | Alibaba |
|
| `ALIBABA` | Alibaba |
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
| `TOGETHER_2` | Together 2 |
|
| `TOGETHER_2` | Together 2 |
|
||||||
| `UBICLOUD` | Ubicloud |
|
| `UBICLOUD` | Ubicloud |
|
||||||
| `ONE_DOT_AI` | 01.AI |
|
| `ONE_DOT_AI` | 01.AI |
|
||||||
| `AKASH` | Akash |
|
| `AKASH_ML` | AkashML |
|
||||||
| `AI21` | AI21 |
|
| `AI21` | AI21 |
|
||||||
| `AION_LABS` | AionLabs |
|
| `AION_LABS` | AionLabs |
|
||||||
| `ALIBABA` | Alibaba |
|
| `ALIBABA` | Alibaba |
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "openrouter"
|
name = "openrouter"
|
||||||
version = "0.7.12"
|
version = "0.8.0"
|
||||||
description = "Official Python Client SDK for OpenRouter."
|
description = "Official Python Client SDK for OpenRouter."
|
||||||
authors = [{ name = "OpenRouter" },]
|
authors = [{ name = "OpenRouter" },]
|
||||||
readme = "README-PYPI.md"
|
readme = "README-PYPI.md"
|
||||||
|
|||||||
@@ -3,10 +3,10 @@
|
|||||||
import importlib.metadata
|
import importlib.metadata
|
||||||
|
|
||||||
__title__: str = "openrouter"
|
__title__: str = "openrouter"
|
||||||
__version__: str = "0.7.12"
|
__version__: str = "0.8.0"
|
||||||
__openapi_doc_version__: str = "1.0.0"
|
__openapi_doc_version__: str = "1.0.0"
|
||||||
__gen_version__: str = "2.768.0"
|
__gen_version__: str = "2.768.0"
|
||||||
__user_agent__: str = "speakeasy-sdk/python 0.7.12 2.768.0 1.0.0 openrouter"
|
__user_agent__: str = "speakeasy-sdk/python 0.8.0 2.768.0 1.0.0 openrouter"
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if __package__ is not None:
|
if __package__ is not None:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ from typing import Literal, Union
|
|||||||
|
|
||||||
ProviderName = Union[
|
ProviderName = Union[
|
||||||
Literal[
|
Literal[
|
||||||
"Akash",
|
"AkashML",
|
||||||
"AI21",
|
"AI21",
|
||||||
"AionLabs",
|
"AionLabs",
|
||||||
"Alibaba",
|
"Alibaba",
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ ProviderName = Union[
|
|||||||
"Together 2",
|
"Together 2",
|
||||||
"Ubicloud",
|
"Ubicloud",
|
||||||
"01.AI",
|
"01.AI",
|
||||||
"Akash",
|
"AkashML",
|
||||||
"AI21",
|
"AI21",
|
||||||
"AionLabs",
|
"AionLabs",
|
||||||
"Alibaba",
|
"Alibaba",
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "openrouter"
|
name = "openrouter"
|
||||||
version = "0.7.12"
|
version = "0.8.0"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "httpcore" },
|
{ name = "httpcore" },
|
||||||
|
|||||||
Reference in New Issue
Block a user