mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-31 12:30:30 +08:00
chore: 🐝 Update SDK - Generate 0.9.2 (#205)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
speakeasybot
speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent
0c735989c1
commit
0f116c9792
@@ -18,11 +18,13 @@ from typing import Literal, Optional, Union
|
||||
from typing_extensions import Annotated, NotRequired, TypedDict
|
||||
|
||||
|
||||
TextExtendedConfigVerbosity = Union[
|
||||
Verbosity = Union[
|
||||
Literal[
|
||||
"high",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"xhigh",
|
||||
"max",
|
||||
],
|
||||
UnrecognizedStr,
|
||||
]
|
||||
@@ -33,7 +35,7 @@ class TextExtendedConfigTypedDict(TypedDict):
|
||||
|
||||
format_: NotRequired[FormatsTypedDict]
|
||||
r"""Text response format configuration"""
|
||||
verbosity: NotRequired[Nullable[TextExtendedConfigVerbosity]]
|
||||
verbosity: NotRequired[Nullable[Verbosity]]
|
||||
|
||||
|
||||
class TextExtendedConfig(BaseModel):
|
||||
@@ -43,8 +45,7 @@ class TextExtendedConfig(BaseModel):
|
||||
r"""Text response format configuration"""
|
||||
|
||||
verbosity: Annotated[
|
||||
OptionalNullable[TextExtendedConfigVerbosity],
|
||||
PlainValidator(validate_open_enum(False)),
|
||||
OptionalNullable[Verbosity], PlainValidator(validate_open_enum(False))
|
||||
] = UNSET
|
||||
|
||||
@model_serializer(mode="wrap")
|
||||
|
||||
Reference in New Issue
Block a user