mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-30 12:20:57 +08:00
fix: add overlay to remove nullable from pagination offset params (#121)
This commit is contained in:
@@ -20,9 +20,9 @@ FormatJSONSchemaConfigType = Literal["json_schema",]
|
||||
class FormatJSONSchemaConfigTypedDict(TypedDict):
|
||||
r"""JSON schema constrained response format"""
|
||||
|
||||
type: FormatJSONSchemaConfigType
|
||||
name: str
|
||||
schema_: Dict[str, Nullable[Any]]
|
||||
type: FormatJSONSchemaConfigType
|
||||
description: NotRequired[str]
|
||||
strict: NotRequired[Nullable[bool]]
|
||||
|
||||
@@ -30,12 +30,12 @@ class FormatJSONSchemaConfigTypedDict(TypedDict):
|
||||
class FormatJSONSchemaConfig(BaseModel):
|
||||
r"""JSON schema constrained response format"""
|
||||
|
||||
type: FormatJSONSchemaConfigType
|
||||
|
||||
name: str
|
||||
|
||||
schema_: Annotated[Dict[str, Nullable[Any]], pydantic.Field(alias="schema")]
|
||||
|
||||
type: FormatJSONSchemaConfigType
|
||||
|
||||
description: Optional[str] = None
|
||||
|
||||
strict: OptionalNullable[bool] = UNSET
|
||||
|
||||
Reference in New Issue
Block a user