Skip to content

Commit 50b61cb

Browse files
Update proto conversion utilities
1 parent f7de2ae commit 50b61cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/a2a/utils/proto_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def extension(
334334
return a2a_pb2.AgentExtension(
335335
uri=extension.uri,
336336
description=extension.description,
337-
params=dict_to_struct(extension.params),
337+
params=dict_to_struct(extension.params) if extension.params else None,
338338
required=extension.required,
339339
)
340340

0 commit comments

Comments
 (0)