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

Fix: Resize image before conversation and save history #1116

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

iseabock
Copy link
Contributor

Motivation and Context

There was a bug caused by image upload that didn't allow for history to be saved as well as bug caused by the uploaded image being too large.

Description

Resizing the image then converting to base64 before sending the conversation resolved the issue of image size.

Contribution Checklist

  • I have built and tested the code locally and in a deployed app
  • For frontend changes, I have pulled the latest code from main, built the frontend, and committed all static files.
  • This is a change for all users of this app. No code or asset is specific to my use case or my organization.
  • I didn't break any existing functionality 😄

@iseabock iseabock merged commit 3bf6aca into main Sep 25, 2024
9 checks passed
@iseabock iseabock deleted the NO-TASK-fix-chat-history branch September 25, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants