diff --git a/python/sglang/srt/entrypoints/openai/protocol.py b/python/sglang/srt/entrypoints/openai/protocol.py index d5ce0a7802..7749699675 100644 --- a/python/sglang/srt/entrypoints/openai/protocol.py +++ b/python/sglang/srt/entrypoints/openai/protocol.py @@ -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