Skip to content

Commit b6960d6

Browse files
committed
fix: gemini
Signed-off-by: Shingo OKAWA <shingo.okawa.g.h.c@gmail.com>
1 parent 9da9e15 commit b6960d6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/client/test_grpc_client.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
import grpc
44
import pytest
55

6-
from google.protobuf import struct_pb2
7-
86
from a2a.client import A2AGrpcClient
97
from a2a.grpc import a2a_pb2, a2a_pb2_grpc
108
from a2a.types import (
@@ -107,7 +105,7 @@ def sample_artifact() -> Artifact:
107105
name='example.txt',
108106
description='An example artifact',
109107
parts=[Part(root=TextPart(text='Hi there'))],
110-
metadata=struct_pb2.Struct(),
108+
metadata={},
111109
extensions=[],
112110
)
113111

@@ -120,7 +118,7 @@ def sample_task_status_update_event() -> TaskStatusUpdateEvent:
120118
contextId='ctx-1',
121119
status=TaskStatus(state=TaskState.working),
122120
final=False,
123-
metadata=struct_pb2.Struct(),
121+
metadata={},
124122
)
125123

126124

@@ -135,7 +133,7 @@ def sample_task_artifact_update_event(
135133
artifact=sample_artifact,
136134
append=True,
137135
last_chunk=True,
138-
metadata=struct_pb2.Struct(),
136+
metadata={},
139137
)
140138

141139

0 commit comments

Comments
 (0)