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
@@ -7,9 +7,6 @@ from typing import List, Literal, Union
from typing_extensions import TypeAliasType, TypedDict
ChatToolMessageRole = Literal["tool",]
ChatToolMessageContentTypedDict = TypeAliasType(
"ChatToolMessageContentTypedDict", Union[str, List[ChatContentItemsTypedDict]]
)
@@ -22,12 +19,15 @@ ChatToolMessageContent = TypeAliasType(
r"""Tool response content"""
ChatToolMessageRole = Literal["tool",]
class ChatToolMessageTypedDict(TypedDict):
r"""Tool response message"""
role: ChatToolMessageRole
content: ChatToolMessageContentTypedDict
r"""Tool response content"""
role: ChatToolMessageRole
tool_call_id: str
r"""ID of the assistant message tool call this message responds to"""
@@ -35,10 +35,10 @@ class ChatToolMessageTypedDict(TypedDict):
class ChatToolMessage(BaseModel):
r"""Tool response message"""
role: ChatToolMessageRole
content: ChatToolMessageContent
r"""Tool response content"""
role: ChatToolMessageRole
tool_call_id: str
r"""ID of the assistant message tool call this message responds to"""