mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-08-15 12:35:09 +08:00
chore: 🐝 Update SDK - Generate (spec change merged) 0.11.4 (#396)
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
34403bd422
commit
1e88de8988
@@ -80,13 +80,13 @@ class UploadFileGlobals(BaseModel):
|
||||
return m
|
||||
|
||||
|
||||
class FileTypedDict(TypedDict):
|
||||
class UploadFileFileTypedDict(TypedDict):
|
||||
file_name: str
|
||||
content: Union[bytes, IO[bytes], io.IOBase]
|
||||
content_type: NotRequired[str]
|
||||
|
||||
|
||||
class File(BaseModel):
|
||||
class UploadFileFile(BaseModel):
|
||||
file_name: Annotated[
|
||||
str, pydantic.Field(alias="fileName"), FieldMetadata(multipart=True)
|
||||
]
|
||||
@@ -121,11 +121,13 @@ class File(BaseModel):
|
||||
|
||||
|
||||
class UploadFileRequestBodyTypedDict(TypedDict):
|
||||
file: FileTypedDict
|
||||
file: UploadFileFileTypedDict
|
||||
|
||||
|
||||
class UploadFileRequestBody(BaseModel):
|
||||
file: Annotated[File, FieldMetadata(multipart=MultipartFormMetadata(file=True))]
|
||||
file: Annotated[
|
||||
UploadFileFile, FieldMetadata(multipart=MultipartFormMetadata(file=True))
|
||||
]
|
||||
|
||||
|
||||
class UploadFileRequestTypedDict(TypedDict):
|
||||
|
||||
Reference in New Issue
Block a user