From 3b4ab3892d97a4d7e2f207964f8e4eb1de0e9350 Mon Sep 17 00:00:00 2001 From: Ranuga <79456372+Programmer-RD-AI@users.noreply.github.com> Date: Sat, 22 Mar 2025 09:33:51 +0530 Subject: [PATCH] fix(types): make 'id' optional in ResponseFunctionToolCallParam --- .../types/responses/response_function_tool_call_param.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openai/types/responses/response_function_tool_call_param.py b/src/openai/types/responses/response_function_tool_call_param.py index eaa263cf67..eadfae0827 100644 --- a/src/openai/types/responses/response_function_tool_call_param.py +++ b/src/openai/types/responses/response_function_tool_call_param.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing_extensions import Literal, Required, TypedDict +from typing_extensions import Literal, Required, TypedDict, Optional __all__ = ["ResponseFunctionToolCallParam"] @@ -20,7 +20,7 @@ class ResponseFunctionToolCallParam(TypedDict, total=False): type: Required[Literal["function_call"]] """The type of the function tool call. Always `function_call`.""" - id: str + id: Optional[str] """The unique ID of the function tool call.""" status: Literal["in_progress", "completed", "incomplete"]