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
12 changes: 5 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b6cd71c-ea04-44da-af45-e43968b5928d
management:
docChecksum: 49621e9bf67482e01c2be5fffeb0c319
docChecksum: 973d42c85e29be093122e32bf9e93222
docVersion: 1.0.0
speakeasyVersion: 1.650.0
generationVersion: 2.743.2
releaseVersion: 0.1.3
configChecksum: 63545a2e0664767bc4706b01fd016538
speakeasyVersion: 1.651.0
generationVersion: 2.745.2
releaseVersion: 0.1.4
configChecksum: 275f2f4f98e826740764856e6e029cc1
repoURL: https://github.com/OpenRouterTeam/typescript-sdk.git
installationURL: https://github.com/OpenRouterTeam/typescript-sdk
published: true
Expand Down Expand Up @@ -126,7 +126,6 @@ generatedFiles:
- docs/models/errors/toomanyrequestsresponseerror.md
- docs/models/errors/unauthorizedresponseerror.md
- docs/models/errors/unprocessableentityresponseerror.md
- docs/models/experimental.md
- docs/models/filecitation.md
- docs/models/filecitationtype.md
- docs/models/filepath.md
Expand Down Expand Up @@ -323,7 +322,6 @@ generatedFiles:
- docs/models/operations/exchangeauthcodeforapikeycodechallengemethod.md
- docs/models/operations/exchangeauthcodeforapikeyrequest.md
- docs/models/operations/exchangeauthcodeforapikeyresponse.md
- docs/models/operations/experimental.md
- docs/models/operations/getcreditsresponse.md
- docs/models/operations/getcurrentkeydata.md
- docs/models/operations/getcurrentkeyresponse.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: false
typescript:
version: 0.1.3
version: 0.1.4
acceptHeaderEnum: false
additionalDependencies:
dependencies: {}
Expand Down
24 changes: 16 additions & 8 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3712,6 +3712,13 @@ components:
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that
do not retain prompts will be used.
example: true
enforce_distillable_text:
type: boolean
nullable: true
description: >-
Whether to restrict routing to only models that allow text distillation. When true, only models where
the author has allowed distillation will be used.
example: true
order:
type: array
nullable: true
Expand Down Expand Up @@ -3777,10 +3784,6 @@ components:
description: >-
The object specifying the maximum price you want to pay for this request. USD price per million tokens,
for prompt and completion.
experimental:
type: object
nullable: true
properties: {}
additionalProperties: false
description: When multiple model providers are available, optionally indicate your routing preference.
plugins:
Expand Down Expand Up @@ -4826,6 +4829,8 @@ components:
type: number
audio_tokens:
type: number
video_tokens:
type: number
- type: 'null'
required:
- completion_tokens
Expand Down Expand Up @@ -6039,6 +6044,13 @@ paths:
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only
endpoints that do not retain prompts will be used.
example: true
enforce_distillable_text:
type: boolean
nullable: true
description: >-
Whether to restrict routing to only models that allow text distillation. When true, only models
where the author has allowed distillation will be used.
example: true
order:
type: array
nullable: true
Expand Down Expand Up @@ -6104,10 +6116,6 @@ paths:
description: >-
The object specifying the maximum price you want to pay for this request. USD price per million
tokens, for prompt and completion.
experimental:
type: object
nullable: true
properties: {}
encoding_format:
anyOf:
- type: string
Expand Down
22 changes: 14 additions & 8 deletions .speakeasy/out.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3731,6 +3731,12 @@ components:
description: >-
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
example: true
enforce_distillable_text:
type: boolean
nullable: true
description: >-
Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.
example: true
order:
type: array
nullable: true
Expand Down Expand Up @@ -3791,10 +3797,6 @@ components:
additionalProperties: false
description: >-
The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
experimental:
type: object
nullable: true
properties: {}
additionalProperties: false
description: When multiple model providers are available, optionally indicate your routing preference.
plugins:
Expand Down Expand Up @@ -4850,6 +4852,8 @@ components:
type: number
audio_tokens:
type: number
video_tokens:
type: number
- type: 'null'
required:
- completion_tokens
Expand Down Expand Up @@ -6063,6 +6067,12 @@ paths:
description: >-
Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
example: true
enforce_distillable_text:
type: boolean
nullable: true
description: >-
Whether to restrict routing to only models that allow text distillation. When true, only models where the author has allowed distillation will be used.
example: true
order:
type: array
nullable: true
Expand Down Expand Up @@ -6123,10 +6133,6 @@ paths:
additionalProperties: false
description: >-
The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
experimental:
type: object
nullable: true
properties: {}
encoding_format:
anyOf:
- type: string
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.650.0
speakeasyVersion: 1.651.0
sources:
OpenRouter API:
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:602ebe32972d3a9f71ad7818b56e0fac7186a4e9daae697f9089ed2e6ddad8b5
sourceBlobDigest: sha256:bef8a7311b8c8cd0a18ffff29b615130fbc50b538d7214727d72f188c6882daf
sourceRevisionDigest: sha256:73beb40e7db6cb1d1bfbc364fd655f9ebdf6f9d6b3f1a71836a3a851d07e5d80
sourceBlobDigest: sha256:ab3d90309e030249c89844dba54d28dc758bee9c5749ddfd961e4bb844bc5128
tags:
- latest
- staging
Expand All @@ -12,10 +12,10 @@ targets:
openrouter:
source: OpenRouter API
sourceNamespace: open-router-chat-completions-api
sourceRevisionDigest: sha256:602ebe32972d3a9f71ad7818b56e0fac7186a4e9daae697f9089ed2e6ddad8b5
sourceBlobDigest: sha256:bef8a7311b8c8cd0a18ffff29b615130fbc50b538d7214727d72f188c6882daf
sourceRevisionDigest: sha256:73beb40e7db6cb1d1bfbc364fd655f9ebdf6f9d6b3f1a71836a3a851d07e5d80
sourceBlobDigest: sha256:ab3d90309e030249c89844dba54d28dc758bee9c5749ddfd961e4bb844bc5128
codeSamplesNamespace: open-router-chat-completions-api-typescript-code-samples
codeSamplesRevisionDigest: sha256:c28a52583bcb017b39fb134f0515aba9475dd31ba61c230ddd3b512b237b1e8f
codeSamplesRevisionDigest: sha256:91344e8fa83401c24be0aa398ba3b549d0e127e374c1d4de750127956cd78d75
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
14 changes: 0 additions & 14 deletions docs/models/experimental.md

This file was deleted.

Loading
Loading