fix(protocol): ResponseTool accepts extra fields (tool_search execution)
This commit is contained in:
@@ -1836,6 +1836,8 @@ RESPONSE_TOOL_TYPES = Literal[
|
||||
class ResponseTool(BaseModel):
|
||||
"""Tool definition for responses."""
|
||||
|
||||
model_config = ConfigDict(extra="allow")
|
||||
|
||||
type: RESPONSE_TOOL_TYPES = Field(description="Type of tool to enable")
|
||||
name: Optional[str] = None
|
||||
description: Optional[str] = None
|
||||
|
||||
Reference in New Issue
Block a user