From 28430799e32430265a1f8012383739a481d94629 Mon Sep 17 00:00:00 2001 From: Ivan Lopez Hernandez Date: Fri, 4 Sep 2026 14:33:17 -0700 Subject: [PATCH] fix: Remove unused field from FunctionResultDelta PiperOrigin-RevId: 976499077 --- google/genai/_gaos/types/interactions/functionresultdelta.py | 5 ----- google/genai/_gaos/types/interactions/stepdeltadata.py | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/google/genai/_gaos/types/interactions/functionresultdelta.py b/google/genai/_gaos/types/interactions/functionresultdelta.py index 9f881f1f6..31d4602c6 100644 --- a/google/genai/_gaos/types/interactions/functionresultdelta.py +++ b/google/genai/_gaos/types/interactions/functionresultdelta.py @@ -51,8 +51,6 @@ class FunctionResultDeltaResult(BaseModel): class FunctionResultDeltaTypedDict(TypedDict): - call_id: str - r"""Required. ID to match the ID from the function call block.""" result: FunctionResultDeltaResultUnionTypedDict is_error: NotRequired[bool] name: NotRequired[str] @@ -60,9 +58,6 @@ class FunctionResultDeltaTypedDict(TypedDict): class FunctionResultDelta(BaseModel): - call_id: str - r"""Required. ID to match the ID from the function call block.""" - result: FunctionResultDeltaResultUnion is_error: Optional[bool] = None diff --git a/google/genai/_gaos/types/interactions/stepdeltadata.py b/google/genai/_gaos/types/interactions/stepdeltadata.py index ad5388553..e9c1284e6 100644 --- a/google/genai/_gaos/types/interactions/stepdeltadata.py +++ b/google/genai/_gaos/types/interactions/stepdeltadata.py @@ -86,13 +86,13 @@ GoogleMapsResultDeltaTypedDict, FileSearchResultDeltaTypedDict, MCPServerToolCallDeltaTypedDict, + FunctionResultDeltaTypedDict, RetrievalCallDeltaTypedDict, MCPServerToolResultDeltaTypedDict, DocumentDeltaTypedDict, CodeExecutionResultDeltaTypedDict, GoogleSearchResultDeltaTypedDict, URLContextResultDeltaTypedDict, - FunctionResultDeltaTypedDict, ImageDeltaTypedDict, VideoDeltaTypedDict, AudioDeltaTypedDict,