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
31 changes: 14 additions & 17 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: 96232da04228ca818101a294545ecf0b
docChecksum: 4380e49fef52e4f14a046bcb7c5d28b8
docVersion: 1.0.0
speakeasyVersion: 1.787.0
generationVersion: 2.914.0
releaseVersion: 1.1.77
configChecksum: 7448f44d4eeacd36dc8acb9ab0a7fbeb
releaseVersion: 1.1.78
configChecksum: 897847f8b0c0ffbbc5646fcc13027bf0
repoURL: https://github.com/OpenRouterTeam/python-sdk.git
installationURL: https://github.com/OpenRouterTeam/python-sdk.git
published: true
persistentEdits:
generation_id: 47cbdda2-41a7-40ea-b4c4-d1ca30637c45
pristine_commit_hash: 2e1498b0c5c1cdf53e7aac3825ca32865600fd72
pristine_tree_hash: abeba3af2c23d395684bbb24336dd97d08016cb0
generation_id: abacfaa9-b40e-4399-83e6-26e5d05ae8bb
pristine_commit_hash: 4d58eaa3a3f68299b3e1e31712d4df3ddd3ff254
pristine_tree_hash: 54c840c374826266f54b925af7e1b3752a2d0bb5
features:
python:
acceptHeaders: 3.0.0
Expand Down Expand Up @@ -3250,8 +3250,8 @@ trackedFiles:
pristine_git_object: 1df35546bd3caa20d0672e560e4fe616598995d2
docs/components/observabilitydatadogdestinationconfig.mdx:
id: 5d9352581ce2
last_write_checksum: sha1:41095359e9daf0344c5117c01b1f7fb4e97d2301
pristine_git_object: 56d22797c321911afa0f133fa6db8857d216aac1
last_write_checksum: sha1:b55df9fe0666891c7819e80565e103b04997db73
pristine_git_object: ed2b5c52964f78127f6cc87e16fec0a1c5c1082b
docs/components/observabilitydatadogdestinationtype.mdx:
id: 0136bc2eef34
last_write_checksum: sha1:b1fdf5fc623076f9b5347d50743091f763fe3675
Expand Down Expand Up @@ -7354,8 +7354,8 @@ trackedFiles:
pristine_git_object: 3e38f1a929f7d6b1d6de74604aa87e3d8f010544
pyproject.toml:
id: 5d07e7d72637
last_write_checksum: sha1:c8511c58b2809c050315c495505344bab04792a9
pristine_git_object: f242cc052d73c451de2de69a6df515e90cdf4838
last_write_checksum: sha1:41ae9f8fc1e1d9a9a81abda28197bf879e951c6a
pristine_git_object: 84ff571b5a22ff75019a1c3a250d51cbb547aac8
scripts/prepare_readme.py:
id: e0c5957a6035
last_write_checksum: sha1:77f44b60b98bc126557ec27391f91dfba764bb54
Expand All @@ -7382,8 +7382,8 @@ trackedFiles:
pristine_git_object: 86713cfea633e09d33b3d4e65281071fe20e6137
src/openrouter/_version.py:
id: d8d15ad6c586
last_write_checksum: sha1:861e228e709562b43a34f26b4f82024aaaa41db7
pristine_git_object: 5d2ba9222d03dee629788bd7a5766c37ef466e9c
last_write_checksum: sha1:70db7798c0f72d73ea83f65eef818faf1f6b3912
pristine_git_object: 8f777fa68c21224ad65f19f9de4f709b4c7841f8
src/openrouter/analytics.py:
id: cb406b5aaabb
last_write_checksum: sha1:1e0004d8d1d5d797e2b54cd1cabeb7f9489d08e9
Expand Down Expand Up @@ -8822,8 +8822,8 @@ trackedFiles:
pristine_git_object: 61d6beb89a37b76be793621dcd483333aafada39
src/openrouter/components/observabilitydatadogdestination.py:
id: 2b99c86aa089
last_write_checksum: sha1:eb3f1a84273fdce0cff5512490a36ccf748ff7c1
pristine_git_object: b2f26edbbeca3fbc4a2392804f61b0538882d40a
last_write_checksum: sha1:75c2222de977eab98cf09dae2ff29131054da82d
pristine_git_object: fee01a534c047fd9b2ea3f4936373e86e5671dba
src/openrouter/components/observabilitydestination.py:
id: f02862444a3d
last_write_checksum: sha1:182ba82fb2aee3f33a975ce8eb2ef978bc0b46d2
Expand Down Expand Up @@ -12382,6 +12382,3 @@ examples:
"503":
application/json: {"error": {"code": 503, "message": "Service temporarily unavailable"}}
examplesVersion: 1.0.2
releaseNotes: |
## Python SDK Changes:
* `open_router.api_keys.create()`: `request.external_api_key` **Added**
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.77
version: 1.1.78
additionalDependencies:
dev: {}
main: {}
Expand Down
6 changes: 3 additions & 3 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15228,7 +15228,7 @@ components:
config:
apiKey: '************...AbCd'
mlApp: 'my-llm-app'
url: 'https://api.us5.datadoghq.com'
url: 'https://api.datadoghq.com'
created_at: '2025-08-24T10:30:00Z'
enabled: true
filter_rules: null
Expand Down Expand Up @@ -15276,8 +15276,8 @@ components:
minLength: 1
type: 'string'
url:
default: 'https://api.us5.datadoghq.com'
description: 'Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.datadoghq.eu)'
default: 'https://api.datadoghq.com'
description: 'Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.us5.datadoghq.com, https://api.datadoghq.eu)'
type: 'string'
required:
- 'apiKey'
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:5322c0f83fc765da9e7910255d7df76ec493d94d5c548b6b9ebb87a26d022b51
sourceBlobDigest: sha256:1089499afd1bcc97d0a6ec8b6141196838612da5f643a5691211ad9875906e32
sourceRevisionDigest: sha256:a0c8071526156321d4808bf8ae5aa9231043e82cb7d3dafc56374eb0f0339206
sourceBlobDigest: sha256:8ad77bace16445242fe39dba2e0c36dbfb6b66e8c50c59fcf4155b41d65b318f
tags:
- latest
- 1.0.0
targets:
open-router:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:5322c0f83fc765da9e7910255d7df76ec493d94d5c548b6b9ebb87a26d022b51
sourceBlobDigest: sha256:1089499afd1bcc97d0a6ec8b6141196838612da5f643a5691211ad9875906e32
sourceRevisionDigest: sha256:a0c8071526156321d4808bf8ae5aa9231043e82cb7d3dafc56374eb0f0339206
sourceBlobDigest: sha256:8ad77bace16445242fe39dba2e0c36dbfb6b66e8c50c59fcf4155b41d65b318f
codeSamplesNamespace: open-router-python-code-samples
codeSamplesRevisionDigest: sha256:2c97d10315126b2f96b73c1db110f1179a1a473fbffb6600f287318402813bf0
codeSamplesRevisionDigest: sha256:cfca39323f743a723a62fc64413774cf84f5d1b1556f70b04d8655864d205278
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 @@ -1559,4 +1559,14 @@ Based on:
### Generated
- [python v1.1.77] .
### Releases
- [PyPI v1.1.77] https://pypi.org/project/openrouter/1.1.77 - .
- [PyPI v1.1.77] https://pypi.org/project/openrouter/1.1.77 - .

## 2026-08-24 15:15:20
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.1.78] .
### Releases
- [PyPI v1.1.78] https://pypi.org/project/openrouter/1.1.78 - .
12 changes: 6 additions & 6 deletions docs/components/observabilitydatadogdestinationconfig.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ title: "ObservabilityDatadogDestinationConfig"

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| `api_key` | *str* | :heavy_check_mark: | Datadog API key must have LLM Observability permissions. Create at: |
| `headers` | Dict[str, *str*] | :heavy_minus_sign: | Custom HTTP headers to include in requests to this destination. |
| `ml_app` | *str* | :heavy_check_mark: | Name to identify your application in Datadog LLM Observability |
| `url` | *Optional[str]* | :heavy_minus_sign: | Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.datadoghq.eu) |
| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `api_key` | *str* | :heavy_check_mark: | Datadog API key must have LLM Observability permissions. Create at: |
| `headers` | Dict[str, *str*] | :heavy_minus_sign: | Custom HTTP headers to include in requests to this destination. |
| `ml_app` | *str* | :heavy_check_mark: | Name to identify your application in Datadog LLM Observability |
| `url` | *Optional[str]* | :heavy_minus_sign: | Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.us5.datadoghq.com, https://api.datadoghq.eu) |
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.77"
version = "1.1.78"
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.77"
__version__: str = "1.1.78"
__openapi_doc_version__: str = "1.0.0"
__gen_version__: str = "2.914.0"
__user_agent__: str = "speakeasy-sdk/python 1.1.77 2.914.0 1.0.0 openrouter"
__user_agent__: str = "speakeasy-sdk/python 1.1.78 2.914.0 1.0.0 openrouter"

try:
if __package__ is not None:
Expand Down
6 changes: 3 additions & 3 deletions src/openrouter/components/observabilitydatadogdestination.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ObservabilityDatadogDestinationConfigTypedDict(TypedDict):
headers: NotRequired[Dict[str, str]]
r"""Custom HTTP headers to include in requests to this destination."""
url: NotRequired[str]
r"""Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.datadoghq.eu)"""
r"""Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.us5.datadoghq.com, https://api.datadoghq.eu)"""


class ObservabilityDatadogDestinationConfig(BaseModel):
Expand All @@ -33,8 +33,8 @@ class ObservabilityDatadogDestinationConfig(BaseModel):
headers: Optional[Dict[str, str]] = None
r"""Custom HTTP headers to include in requests to this destination."""

url: Optional[str] = "https://api.us5.datadoghq.com"
r"""Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.datadoghq.eu)"""
url: Optional[str] = "https://api.datadoghq.com"
r"""Datadog API URL for your region (e.g., https://api.datadoghq.com, https://api.us3.datadoghq.com, https://api.us5.datadoghq.com, https://api.datadoghq.eu)"""

@model_serializer(mode="wrap")
def serialize_model(self, handler):
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