- Issue created by @bircher
- First commit to issue fork.
- 🇨🇦Canada b_sharpe
This may be more a future option, but it's far more efficient to upload a file and then reference the file rather than send it as filedata. base64-encoded content is treated like raw input. The model must process the file contents as tokens which can get pretty expensive. Also, not very scalable for large files and can even get truncated. I believe it also counts against your context window..
I'd be in favor of looking at how we could use the file upload + thread to enhance this
- Status changed to Fixed
about 1 month ago 12:14pm 9 September 2025 - 🇩🇪Germany marcus_johansson
Tested and working. This is getting merged. Thanks everyone.
Now that this issue is closed, please review the contribution record.
As a contributor, attribute any organization helped you, or if you volunteered your own time.
Maintainers, please credit people who helped resolve this issue.