Skip to content

Commit c642f13

Browse files
google-genai-botcopybara-github
authored andcommitted
feat: Thread custom_metadata through forwarding artifact service
PiperOrigin-RevId: 833496193
1 parent a48a1a9 commit c642f13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/google/adk/tools/_forwarding_artifact_service.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ async def save_artifact(
4747
custom_metadata: Optional[dict[str, Any]] = None,
4848
) -> int:
4949
return await self.tool_context.save_artifact(
50-
filename=filename, artifact=artifact
50+
filename=filename,
51+
artifact=artifact,
52+
custom_metadata=custom_metadata,
5153
)
5254

5355
@override

0 commit comments

Comments
 (0)