Skip to content

Commit fe3f52c

Browse files
mattappersonabhinav-polagithub-actions[bot]
authored
chore: update OpenAPI specification from openrouter-web (#64)
Co-authored-by: abhinav-pola <[email protected]> Co-authored-by: update-generated-files-action <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b436f7c commit fe3f52c

File tree

18 files changed

+73
-109
lines changed

18 files changed

+73
-109
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b6cd71c-ea04-44da-af45-e43968b5928d
33
management:
4-
docChecksum: 49621e9bf67482e01c2be5fffeb0c319
4+
docChecksum: 973d42c85e29be093122e32bf9e93222
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.650.0
7-
generationVersion: 2.743.2
8-
releaseVersion: 0.1.3
9-
configChecksum: 63545a2e0664767bc4706b01fd016538
6+
speakeasyVersion: 1.651.0
7+
generationVersion: 2.745.2
8+
releaseVersion: 0.1.4
9+
configChecksum: 275f2f4f98e826740764856e6e029cc1
1010
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
1111
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
1212
published: true
@@ -126,7 +126,6 @@ generatedFiles:
126126
- docs/models/errors/toomanyrequestsresponseerror.md
127127
- docs/models/errors/unauthorizedresponseerror.md
128128
- docs/models/errors/unprocessableentityresponseerror.md
129-
- docs/models/experimental.md
130129
- docs/models/filecitation.md
131130
- docs/models/filecitationtype.md
132131
- docs/models/filepath.md
@@ -323,7 +322,6 @@ generatedFiles:
323322
- docs/models/operations/exchangeauthcodeforapikeycodechallengemethod.md
324323
- docs/models/operations/exchangeauthcodeforapikeyrequest.md
325324
- docs/models/operations/exchangeauthcodeforapikeyresponse.md
326-
- docs/models/operations/experimental.md
327325
- docs/models/operations/getcreditsresponse.md
328326
- docs/models/operations/getcurrentkeydata.md
329327
- docs/models/operations/getcurrentkeyresponse.md

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ generation:
3030
generateNewTests: true
3131
skipResponseBodyAssertions: false
3232
typescript:
33-
version: 0.1.3
33+
version: 0.1.4
3434
acceptHeaderEnum: false
3535
additionalDependencies:
3636
dependencies: {}

.speakeasy/in.openapi.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3712,6 +3712,13 @@ components:
37123712
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that
37133713
do not retain prompts will be used.
37143714
example: true
3715+
enforce_distillable_text:
3716+
type: boolean
3717+
nullable: true
3718+
description: >-
3719+
Whether to restrict routing to only models that allow text distillation. When true, only models where
3720+
the author has allowed distillation will be used.
3721+
example: true
37153722
order:
37163723
type: array
37173724
nullable: true
@@ -3777,10 +3784,6 @@ components:
37773784
description: >-
37783785
The object specifying the maximum price you want to pay for this request. USD price per million tokens,
37793786
for prompt and completion.
3780-
experimental:
3781-
type: object
3782-
nullable: true
3783-
properties: {}
37843787
additionalProperties: false
37853788
description: When multiple model providers are available, optionally indicate your routing preference.
37863789
plugins:
@@ -4826,6 +4829,8 @@ components:
48264829
type: number
48274830
audio_tokens:
48284831
type: number
4832+
video_tokens:
4833+
type: number
48294834
- type: 'null'
48304835
required:
48314836
- completion_tokens
@@ -6039,6 +6044,13 @@ paths:
60396044
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only
60406045
endpoints that do not retain prompts will be used.
60416046
example: true
6047+
enforce_distillable_text:
6048+
type: boolean
6049+
nullable: true
6050+
description: >-
6051+
Whether to restrict routing to only models that allow text distillation. When true, only models
6052+
where the author has allowed distillation will be used.
6053+
example: true
60426054
order:
60436055
type: array
60446056
nullable: true
@@ -6104,10 +6116,6 @@ paths:
61046116
description: >-
61056117
The object specifying the maximum price you want to pay for this request. USD price per million
61066118
tokens, for prompt and completion.
6107-
experimental:
6108-
type: object
6109-
nullable: true
6110-
properties: {}
61116119
encoding_format:
61126120
anyOf:
61136121
- type: string

.speakeasy/out.openapi.yaml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3731,6 +3731,12 @@ components:
37313731
description: >-
37323732
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
37333733
example: true
3734+
enforce_distillable_text:
3735+
type: boolean
3736+
nullable: true
3737+
description: >-
3738+
Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.
3739+
example: true
37343740
order:
37353741
type: array
37363742
nullable: true
@@ -3791,10 +3797,6 @@ components:
37913797
additionalProperties: false
37923798
description: >-
37933799
The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
3794-
experimental:
3795-
type: object
3796-
nullable: true
3797-
properties: {}
37983800
additionalProperties: false
37993801
description: When multiple model providers are available, optionally indicate your routing preference.
38003802
plugins:
@@ -4850,6 +4852,8 @@ components:
48504852
type: number
48514853
audio_tokens:
48524854
type: number
4855+
video_tokens:
4856+
type: number
48534857
- type: 'null'
48544858
required:
48554859
- completion_tokens
@@ -6063,6 +6067,12 @@ paths:
60636067
description: >-
60646068
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
60656069
example: true
6070+
enforce_distillable_text:
6071+
type: boolean
6072+
nullable: true
6073+
description: >-
6074+
Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.
6075+
example: true
60666076
order:
60676077
type: array
60686078
nullable: true
@@ -6123,10 +6133,6 @@ paths:
61236133
additionalProperties: false
61246134
description: >-
61256135
The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
6126-
experimental:
6127-
type: object
6128-
nullable: true
6129-
properties: {}
61306136
encoding_format:
61316137
anyOf:
61326138
- type: string

.speakeasy/workflow.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
speakeasyVersion: 1.650.0
1+
speakeasyVersion: 1.651.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:602ebe32972d3a9f71ad7818b56e0fac7186a4e9daae697f9089ed2e6ddad8b5
6-
sourceBlobDigest: sha256:bef8a7311b8c8cd0a18ffff29b615130fbc50b538d7214727d72f188c6882daf
5+
sourceRevisionDigest: sha256:73beb40e7db6cb1d1bfbc364fd655f9ebdf6f9d6b3f1a71836a3a851d07e5d80
6+
sourceBlobDigest: sha256:ab3d90309e030249c89844dba54d28dc758bee9c5749ddfd961e4bb844bc5128
77
tags:
88
- latest
99
- staging
@@ -12,10 +12,10 @@ targets:
1212
openrouter:
1313
source: OpenRouter API
1414
sourceNamespace: open-router-chat-completions-api
15-
sourceRevisionDigest: sha256:602ebe32972d3a9f71ad7818b56e0fac7186a4e9daae697f9089ed2e6ddad8b5
16-
sourceBlobDigest: sha256:bef8a7311b8c8cd0a18ffff29b615130fbc50b538d7214727d72f188c6882daf
15+
sourceRevisionDigest: sha256:73beb40e7db6cb1d1bfbc364fd655f9ebdf6f9d6b3f1a71836a3a851d07e5d80
16+
sourceBlobDigest: sha256:ab3d90309e030249c89844dba54d28dc758bee9c5749ddfd961e4bb844bc5128
1717
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:c28a52583bcb017b39fb134f0515aba9475dd31ba61c230ddd3b512b237b1e8f
18+
codeSamplesRevisionDigest: sha256:91344e8fa83401c24be0aa398ba3b549d0e127e374c1d4de750127956cd78d75
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

docs/models/experimental.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)