google / google/adk-web

question: how to capture the filename of the uploaded file via Web UI

Open
#41 2 comments 0 reactions 1 assignee Claimed by @wyf7107 View on GitHub
enhancement
Dominant language
TypeScript
Stars
1k
Forks
267
Avg merge
1d 12h
Merged PRs (30d)
9

Description

What is the best way to get the filename when a user uploads the file (with the default UI)?

Currently, the uploaded file is passed as a Blob Part (containing both the data and the mimetype), but the filename is not preserved, and it appears that this is the default behavior. Is there a workaround for this?

In my case, the filename itself contains essential information. Additionally, when a user uploads multiple files at once, it would be great to distinguish them somehow, but that's challenging when I don't know the filenames.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.