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
+3 -3
View File
@@ -27,11 +27,11 @@ r"""Chat completion message with role-based discrimination"""
ChatMessages = Annotated[
Union[
Annotated[ChatSystemMessage, Tag("system")],
Annotated[ChatUserMessage, Tag("user")],
Annotated[ChatDeveloperMessage, Tag("developer")],
Annotated[ChatAssistantMessage, Tag("assistant")],
Annotated[ChatDeveloperMessage, Tag("developer")],
Annotated[ChatSystemMessage, Tag("system")],
Annotated[ChatToolMessage, Tag("tool")],
Annotated[ChatUserMessage, Tag("user")],
],
Discriminator(lambda m: get_discriminator(m, "role", "role")),
]