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: gpt-4 vision 传入 base64 字符串图片时解析错误 #858

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

MartialBE
Copy link
Contributor

gpt-4 vision 传入base64字符串时,没有将base64解码,导致图片解析失败。
iShot_2023-12-22_14 28 17

将base64解码后,读取正常
iShot_2023-12-22_14 38 21

@MartialBE MartialBE changed the title 🐛 fix GetImageSizeFromBase64 error 🐛 gpt-4 vision 传入base64字符串图片时解析错误 Dec 22, 2023
@songquanpeng songquanpeng changed the title 🐛 gpt-4 vision 传入base64字符串图片时解析错误 fix: gpt-4 vision 传入 base64 字符串图片时解析错误 Dec 24, 2023
@songquanpeng songquanpeng merged commit a763681 into songquanpeng:main Dec 24, 2023
@songquanpeng
Copy link
Owner

Thx~

@MartialBE MartialBE deleted the upstream_fix_image_size branch December 24, 2023 07:54
greeeds pushed a commit to greeeds/one-api that referenced this pull request Mar 3, 2024
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.

None yet

2 participants