Skip to content

Commit 9b192bb

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.0.20 (#526)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent f80f877 commit 9b192bb

41 files changed

Lines changed: 689 additions & 166 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 101 additions & 63 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.0.19
39+
version: 1.0.20
4040
additionalDependencies:
4141
dev: {}
4242
main: {}

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 101 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,6 +1206,10 @@ components:
12061206
type:
12071207
- 'string'
12081208
- 'null'
1209+
encrypted_content:
1210+
type:
1211+
- 'string'
1212+
- 'null'
12091213
type:
12101214
enum:
12111215
- 'compaction'
@@ -12058,6 +12062,10 @@ components:
1205812062
type:
1205912063
- 'string'
1206012064
- 'null'
12065+
encrypted_content:
12066+
type:
12067+
- 'string'
12068+
- 'null'
1206112069
type:
1206212070
enum:
1206312071
- 'compaction_delta'
@@ -12108,6 +12116,10 @@ components:
1210812116
type:
1210912117
- 'string'
1211012118
- 'null'
12119+
encrypted_content:
12120+
type:
12121+
- 'string'
12122+
- 'null'
1211112123
type:
1211212124
enum:
1211312125
- 'compaction'
@@ -12460,6 +12472,10 @@ components:
1246012472
type:
1246112473
- 'string'
1246212474
- 'null'
12475+
encrypted_content:
12476+
type:
12477+
- 'string'
12478+
- 'null'
1246312479
type:
1246412480
enum:
1246512481
- 'compaction'
@@ -13241,6 +13257,7 @@ components:
1324113257
- 'Modular'
1324213258
- 'Moonshot AI'
1324313259
- 'Morph'
13260+
- 'VoyageAI by MongoDB'
1324413261
- 'NCompass'
1324513262
- 'Nebius'
1324613263
- 'Nex AGI'
@@ -13404,18 +13421,46 @@ components:
1340413421
type: 'tool_reference'
1340513422
type: 'tool_addition'
1340613423
properties:
13424+
cache_control:
13425+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
1340713426
tool:
13408-
properties:
13409-
name:
13410-
type: 'string'
13411-
type:
13412-
enum:
13413-
- 'tool_reference'
13414-
type: 'string'
13415-
required:
13416-
- 'type'
13417-
- 'name'
13418-
type: 'object'
13427+
oneOf:
13428+
- properties:
13429+
name:
13430+
type: 'string'
13431+
type:
13432+
enum:
13433+
- 'tool_reference'
13434+
type: 'string'
13435+
required:
13436+
- 'type'
13437+
- 'name'
13438+
type: 'object'
13439+
- properties:
13440+
name:
13441+
type: 'string'
13442+
server_name:
13443+
type: 'string'
13444+
type:
13445+
enum:
13446+
- 'mcp_tool_reference'
13447+
type: 'string'
13448+
required:
13449+
- 'type'
13450+
- 'name'
13451+
- 'server_name'
13452+
type: 'object'
13453+
- properties:
13454+
server_name:
13455+
type: 'string'
13456+
type:
13457+
enum:
13458+
- 'mcp_toolset_reference'
13459+
type: 'string'
13460+
required:
13461+
- 'type'
13462+
- 'server_name'
13463+
type: 'object'
1341913464
type:
1342013465
enum:
1342113466
- 'tool_addition'
@@ -13432,18 +13477,46 @@ components:
1343213477
type: 'tool_reference'
1343313478
type: 'tool_removal'
1343413479
properties:
13480+
cache_control:
13481+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
1343513482
tool:
13436-
properties:
13437-
name:
13438-
type: 'string'
13439-
type:
13440-
enum:
13441-
- 'tool_reference'
13442-
type: 'string'
13443-
required:
13444-
- 'type'
13445-
- 'name'
13446-
type: 'object'
13483+
oneOf:
13484+
- properties:
13485+
name:
13486+
type: 'string'
13487+
type:
13488+
enum:
13489+
- 'tool_reference'
13490+
type: 'string'
13491+
required:
13492+
- 'type'
13493+
- 'name'
13494+
type: 'object'
13495+
- properties:
13496+
name:
13497+
type: 'string'
13498+
server_name:
13499+
type: 'string'
13500+
type:
13501+
enum:
13502+
- 'mcp_tool_reference'
13503+
type: 'string'
13504+
required:
13505+
- 'type'
13506+
- 'name'
13507+
- 'server_name'
13508+
type: 'object'
13509+
- properties:
13510+
server_name:
13511+
type: 'string'
13512+
type:
13513+
enum:
13514+
- 'mcp_toolset_reference'
13515+
type: 'string'
13516+
required:
13517+
- 'type'
13518+
- 'server_name'
13519+
type: 'object'
1344713520
type:
1344813521
enum:
1344913522
- 'tool_removal'
@@ -16773,6 +16846,7 @@ components:
1677316846
enum:
1677416847
- 'end_turn'
1677516848
- 'max_tokens'
16849+
- 'model_context_window_exceeded'
1677616850
- 'stop_sequence'
1677716851
- 'tool_use'
1677816852
- 'pause_turn'
@@ -19010,6 +19084,7 @@ components:
1901019084
- 'Modular'
1901119085
- 'Moonshot AI'
1901219086
- 'Morph'
19087+
- 'VoyageAI by MongoDB'
1901319088
- 'NCompass'
1901419089
- 'Nebius'
1901519090
- 'Nex AGI'
@@ -19428,6 +19503,9 @@ components:
1942819503
venice:
1942919504
additionalProperties: {}
1943019505
type: 'object'
19506+
voyageai:
19507+
additionalProperties: {}
19508+
type: 'object'
1943119509
wafer:
1943219510
additionalProperties: {}
1943319511
type: 'object'
@@ -19724,6 +19802,7 @@ components:
1972419802
- 'Modular'
1972519803
- 'Moonshot AI'
1972619804
- 'Morph'
19805+
- 'VoyageAI by MongoDB'
1972719806
- 'NCompass'
1972819807
- 'Nebius'
1972919808
- 'Nex AGI'

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:00d4a3b5a3f008f2b46f301a3e7310d397c100a10e6c70418d60121a4865e259
6-
sourceBlobDigest: sha256:84f6a4b5f0ae7eeed219cd9ab1049f6181593d3784464dd93240aff6fd727e74
5+
sourceRevisionDigest: sha256:bb9814e3281a9e0c3024eaa6567726ce1522ce6ccf1a05f1206563bccba3bcec
6+
sourceBlobDigest: sha256:040172eadbe8a42c5cc61b80aa158f3211bac5e469aca169ad8d0555056d3bea
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:00d4a3b5a3f008f2b46f301a3e7310d397c100a10e6c70418d60121a4865e259
15-
sourceBlobDigest: sha256:84f6a4b5f0ae7eeed219cd9ab1049f6181593d3784464dd93240aff6fd727e74
14+
sourceRevisionDigest: sha256:bb9814e3281a9e0c3024eaa6567726ce1522ce6ccf1a05f1206563bccba3bcec
15+
sourceBlobDigest: sha256:040172eadbe8a42c5cc61b80aa158f3211bac5e469aca169ad8d0555056d3bea
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:fde97e93bd267a0402aa8338e3d771c4625562ac29d74bcff2211d824e867055
17+
codeSamplesRevisionDigest: sha256:60f6bcb0840b8a546ae2fc33b9b02a72286fdf3d65c8ca7007e838b5bb95da5d
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,4 +769,14 @@ Based on:
769769
### Generated
770770
- [python v1.0.19] .
771771
### Releases
772-
- [PyPI v1.0.19] https://pypi.org/project/openrouter/1.0.19 - .
772+
- [PyPI v1.0.19] https://pypi.org/project/openrouter/1.0.19 - .
773+
774+
## 2026-07-24 20:13:11
775+
### Changes
776+
Based on:
777+
- OpenAPI Doc
778+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
779+
### Generated
780+
- [python v1.0.20] .
781+
### Releases
782+
- [PyPI v1.0.20] https://pypi.org/project/openrouter/1.0.20 - .

β€Ždocs/components/additionaltoolsitemtoolfunction.mdxβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Function tool definition
77

88
## Fields
99

10-
| Field | Type | Required | Description |
11-
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
12-
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
13-
| `name` | *str* | :heavy_check_mark: | N/A |
14-
| `parameters` | Dict[str, *Any*] | :heavy_check_mark: | N/A |
15-
| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
16-
| `type` | [components.AdditionalToolsItemToolType](../components/additionaltoolsitemtooltype.mdx) | :heavy_check_mark: | N/A |
10+
| Field | Type | Required | Description |
11+
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
12+
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
13+
| `name` | *str* | :heavy_check_mark: | N/A |
14+
| `parameters` | Dict[str, *Any*] | :heavy_check_mark: | N/A |
15+
| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
16+
| `type` | [components.AdditionalToolsItemTypeFunction](../components/additionaltoolsitemtypefunction.mdx) | :heavy_check_mark: | N/A |

β€Ždocs/components/additionaltoolsitemtooltype.mdxβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: "AdditionalToolsItemTypeFunction"
3+
---
4+
5+
## Example Usage
6+
7+
```python
8+
from openrouter.components import AdditionalToolsItemTypeFunction
9+
value: AdditionalToolsItemTypeFunction = "function"
10+
```
11+
12+
13+
## Values
14+
15+
- `"function"`

0 commit comments

Comments
Β (0)