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

file size limits for image attachments #240027

Closed
justschen opened this issue Feb 7, 2025 · 0 comments · Fixed by #240316
Closed

file size limits for image attachments #240027

justschen opened this issue Feb 7, 2025 · 0 comments · Fixed by #240316
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders vision
Milestone

Comments

@justschen
Copy link
Contributor

the GH limit for images atm is 5mb per image.

we'll maybe set a limit of 30mb per image since we are scaling images down anyways, and scaled images according to https://platform.openai.com/docs/guides/vision#calculating-costs brings our image sizes to between 0.2mb and 1mb.

explore main reason for slowdowns when attaching large images: likely a mix of hashing and the attempt to scale the image.

@justschen justschen added this to the February 2025 milestone Feb 7, 2025
@justschen justschen self-assigned this Feb 7, 2025
@vs-code-engineering vs-code-engineering bot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
insiders-released Patch has been released in VS Code Insiders vision
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant