This commit is contained in:
Jonathan Gastón Löwenstern 2025-12-29 22:39:56 +01:00 committed by GitHub
commit c0bfc89389
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -342,14 +342,14 @@ class Tool(SubscriptableBaseModel):
description: Optional[str] = None
class Parameters(SubscriptableBaseModel):
model_config = ConfigDict(populate_by_name=True)
model_config = ConfigDict(populate_by_name=True, extra='allow')
type: Optional[Literal['object']] = 'object'
defs: Optional[Any] = Field(None, alias='$defs')
items: Optional[Any] = None
required: Optional[Sequence[str]] = None
class Property(SubscriptableBaseModel):
model_config = ConfigDict(arbitrary_types_allowed=True)
model_config = ConfigDict(arbitrary_types_allowed=True, extra='allow')
type: Optional[Union[str, Sequence[str]]] = None
items: Optional[Any] = None