Skip to content
Discussion options

You must be logged in to vote

From what I have seen, there is an issue with saving user-uploaded files while using the ADK web command. If I understand correctly how it works: the ADK web command creates a default runner with default parameters for your agent. Therefore, all your runner definitions are likely to be ignored by the command. You can't change the parameter save_input_blobs_as_artifacts to True and thus save user-uploaded docs as artifacts.

I tried creating a custom class or monkey-patching the runner class, but they are just ignored by the ADK web command. The only way I found to make it work is to manually remove this condition (save_input_blobs_as_artifacts) at line 306 for the method _append_new_messag…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hangfei
Comment options

You must be logged in to vote
1 reply
@joseph-cavard
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants