mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
SaveFilesAsArtifactsPlugin now resolves the canonical URI for each saved artifact. When the URI is model-accessible (`gs://`, `https://`, `http://`), we add a `Part(file_data=...)` so the LLM can fetch the filedirectly while still emitting the placeholder. If no model-accessible URI exists, we retain the original inline blob alongside the placeholder to preserve access to the uploaded bytes. Close #2016 Co-authored-by: George Weale <gweale@google.com> PiperOrigin-RevId: 828786519