mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +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
@@ -30,24 +30,32 @@ FiltersType = Union[
|
||||
]
|
||||
|
||||
|
||||
Value1TypedDict = TypeAliasType("Value1TypedDict", Union[str, float])
|
||||
|
||||
|
||||
Value1 = TypeAliasType("Value1", Union[str, float])
|
||||
|
||||
|
||||
Value2TypedDict = TypeAliasType(
|
||||
"Value2TypedDict", Union[str, float, bool, List[Value1TypedDict]]
|
||||
FileSearchServerToolValue1TypedDict = TypeAliasType(
|
||||
"FileSearchServerToolValue1TypedDict", Union[str, float]
|
||||
)
|
||||
|
||||
|
||||
Value2 = TypeAliasType("Value2", Union[str, float, bool, List[Value1]])
|
||||
FileSearchServerToolValue1 = TypeAliasType(
|
||||
"FileSearchServerToolValue1", Union[str, float]
|
||||
)
|
||||
|
||||
|
||||
FileSearchServerToolValue2TypedDict = TypeAliasType(
|
||||
"FileSearchServerToolValue2TypedDict",
|
||||
Union[str, float, bool, List[FileSearchServerToolValue1TypedDict]],
|
||||
)
|
||||
|
||||
|
||||
FileSearchServerToolValue2 = TypeAliasType(
|
||||
"FileSearchServerToolValue2",
|
||||
Union[str, float, bool, List[FileSearchServerToolValue1]],
|
||||
)
|
||||
|
||||
|
||||
class FiltersTypedDict(TypedDict):
|
||||
key: str
|
||||
type: FiltersType
|
||||
value: Value2TypedDict
|
||||
value: FileSearchServerToolValue2TypedDict
|
||||
|
||||
|
||||
class Filters(BaseModel):
|
||||
@@ -55,7 +63,7 @@ class Filters(BaseModel):
|
||||
|
||||
type: Annotated[FiltersType, PlainValidator(validate_open_enum(False))]
|
||||
|
||||
value: Value2
|
||||
value: FileSearchServerToolValue2
|
||||
|
||||
|
||||
FiltersUnionTypedDict = TypeAliasType(
|
||||
|
||||
Reference in New Issue
Block a user