Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
FileReader can't be reused so init one per image in multi file drag&drop
Changelog Entry
Fixed
Multi file drag&drop: FileReader can't be reused so init one per image
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1644
**Author:** [@Entaigner](https://github.com/Entaigner)
**Created:** 4/21/2024
**Status:** ✅ Merged
**Merged:** 4/21/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `patch-6`
---
### 📝 Commits (2)
- [`df7517f`](https://github.com/open-webui/open-webui/commit/df7517f9c4c9fee9999a5ebe1e01e10afa52bb70) Merge pull request #1639 from open-webui/dev
- [`743bbae`](https://github.com/open-webui/open-webui/commit/743bbae5d1c3573b7104a7b589e76c7cdc385ed1) Bugfix: FileReader can't be resused so init one per image
### 📊 Changes
**2 files changed** (+24 additions, -27 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/main.py` (+2 -2)
📝 `src/lib/components/chat/MessageInput.svelte` (+22 -25)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation?
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
FileReader can't be reused so init one per image in multi file drag&drop
---
### Changelog Entry
### Fixed
- Multi file drag&drop: FileReader can't be reused so init one per image
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1644
Author: @Entaigner
Created: 4/21/2024
Status: ✅ Merged
Merged: 4/21/2024
Merged by: @tjbck
Base:
dev← Head:patch-6📝 Commits (2)
df7517fMerge pull request #1639 from open-webui/dev743bbaeBugfix: FileReader can't be resused so init one per image📊 Changes
2 files changed (+24 additions, -27 deletions)
View changed files
📝
backend/main.py(+2 -2)📝
src/lib/components/chat/MessageInput.svelte(+22 -25)📄 Description
Pull Request Checklist
Description
FileReader can't be reused so init one per image in multi file drag&drop
Changelog Entry
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.