Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file upload functionality #496

Closed
wants to merge 1 commit into from
Closed

Commits on Sep 25, 2024

  1. Add file upload functionality

    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).
    Ryan526 committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    819de8f View commit details
    Browse the repository at this point in the history