-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
When using the command adk web to test my agent, I face the following issues:
When documents are added to the chat, they are not saved as artifacts.
It is impossible to run using adk web and your customer runner and/or modify RunConfig() when using ADK web.
From what I have seen, it seems to be something with the RunConfig() default parameters, especially the save_input_blobs_as_artifacts parameter that is by default set at False. Therefore, in the Runner._append_new_message_to_session, the documents are never stored in an artifact.
I tested it by modifying the google.adk.runners.py file's if condition at line 306 and removing the save_input_blobs_as_artifacts, and it works just fine.
My idea for a solution would be to accept or detect a runner initialized in the agent file in the adk web command to directly use the user-chosen parameter for the test using the UI.