forked from Niek/chatgpt-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes Niek#465 Add file upload functionality to chat interface. * **Chat.svelte** - Add a file input element for uploading files. - Handle file input change event to read the file. - Update the `submitForm` function to include file data in the request. * **ChatOptionMenu.svelte** - Add an option to upload files in the dropdown menu. - Handle file input change event to read the file. * **ApiUtil.svelte** - Add a new endpoint for file uploads. * **Storage.svelte** - Add a function to handle file uploads and store them appropriately. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Niek/chatgpt-web/issues/465?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
4 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters