From 0bbf528ba3ba92d1632a7552838bcaaca6eb440e Mon Sep 17 00:00:00 2001 From: truongvan Date: Thu, 21 Aug 2025 20:15:58 +0700 Subject: [PATCH] remove Required on Optional field --- src/openai/types/responses/function_tool_param.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai/types/responses/function_tool_param.py b/src/openai/types/responses/function_tool_param.py index 56bab36f47..4b3efe4df4 100644 --- a/src/openai/types/responses/function_tool_param.py +++ b/src/openai/types/responses/function_tool_param.py @@ -15,7 +15,7 @@ class FunctionToolParam(TypedDict, total=False): parameters: Required[Optional[Dict[str, object]]] """A JSON schema object describing the parameters of the function.""" - strict: Required[Optional[bool]] + strict: Optional[bool] """Whether to enforce strict parameter validation. Default `true`.""" type: Required[Literal["function"]]