mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
e072135590
- Add 0-byte file check in upload_file handler to catch empty files early with a clear error message instead of silently passing them to websites - Add 0-byte file check in CDP upload watchdog before setFileInputFiles to prevent uploading empty files that cause cascading failures - Replace hardcoded text extension list in read_file_structured() with dynamic derivation from _file_types, so new text-based file types are automatically supported for external file reading Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>