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
+4 -4
View File
@@ -17,9 +17,9 @@ class TopProviderInfoTypedDict(TypedDict):
is_moderated: bool
r"""Whether the top provider moderates content"""
context_length: NotRequired[Nullable[float]]
context_length: NotRequired[Nullable[int]]
r"""Context length from the top provider"""
max_completion_tokens: NotRequired[Nullable[float]]
max_completion_tokens: NotRequired[Nullable[int]]
r"""Maximum completion tokens from the top provider"""
@@ -29,10 +29,10 @@ class TopProviderInfo(BaseModel):
is_moderated: bool
r"""Whether the top provider moderates content"""
context_length: OptionalNullable[float] = UNSET
context_length: OptionalNullable[int] = UNSET
r"""Context length from the top provider"""
max_completion_tokens: OptionalNullable[float] = UNSET
max_completion_tokens: OptionalNullable[int] = UNSET
r"""Maximum completion tokens from the top provider"""
@model_serializer(mode="wrap")