fix: add overlay to remove nullable from pagination offset params (#121)

This commit is contained in:
Matt Apperson
2026-04-14 12:48:15 -04:00
committed by GitHub
parent 2bba049182
commit b2386114cd
440 changed files with 36150 additions and 32168 deletions
+6 -6
View File
@@ -6,9 +6,6 @@ from typing import Literal, Optional
from typing_extensions import NotRequired, TypedDict
ChatContentFileType = Literal["file",]
class FileTypedDict(TypedDict):
file_data: NotRequired[str]
r"""File content as base64 data URL or URL"""
@@ -29,16 +26,19 @@ class File(BaseModel):
r"""Original filename"""
ChatContentFileType = Literal["file",]
class ChatContentFileTypedDict(TypedDict):
r"""File content part for document processing"""
type: ChatContentFileType
file: FileTypedDict
type: ChatContentFileType
class ChatContentFile(BaseModel):
r"""File content part for document processing"""
type: ChatContentFileType
file: File
type: ChatContentFileType