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: claude3 image type verification failed (#1038) #1040

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

dimsky
Copy link
Contributor

@dimsky dimsky commented Mar 21, 2024

  1. 添加根据 base64 首字母推测图片类型的函数。
  2. 修复由于图片下载丢失原类型(统一为 image/jpeg),导致的 claude3 多模态接口无法使用的问题。 使用 Claude3 上传图片时由于 base64 类型错误, claude3 接口调用失败出错 #1038

Copy link

cla-assistant bot commented Mar 21, 2024

CLA assistant check
All committers have signed the CLA.

@c121914yu c121914yu merged commit ef15ca8 into labring:main Mar 22, 2024
2 checks passed
zenyanbo added a commit to zenyanbo/FastGPT that referenced this pull request Mar 22, 2024
fix: claude3 image type verification failed (labring#1038) (labring#1040)
c121914yu pushed a commit to c121914yu/FastGPT that referenced this pull request Mar 22, 2024
c121914yu added a commit to c121914yu/FastGPT that referenced this pull request Mar 22, 2024
* fix: claude3 image type verification failed (labring#1038) (labring#1040)

* perf: curl import modal

* doc img

* perf: adapt cohere rerank

* perf: code

* perf: input style

* doc

---------

Co-authored-by: xiaotian <[email protected]>
yangchuansheng pushed a commit that referenced this pull request Mar 26, 2024
* 4.7-alpha3 (#62)

* doc

* Optimize possible null Pointers and parts of Ux

* fix: mulity index training error

* feat: doc and rename question guide

* fix ios speech input (#59)

* fix: prompt editor variables nowrap (#61)

* change openapi import in http module with curl import (#60)

* chore(ui): dataset import modal ui (#58)

* chore(ui): dataset import modal ui

* use component

* fix height

* 4.7 (#63)

* fix: claude3 image type verification failed (#1038) (#1040)

* perf: curl import modal

* doc img

* perf: adapt cohere rerank

* perf: code

* perf: input style

* doc

---------

Co-authored-by: xiaotian <[email protected]>

* fix: ts

* docker deploy

* perf: prompt call

* doc

* ts

* finish ui

* perf: outlink detail ux

* perf: user schema

* fix: plugin update

* feat: get current time plugin

* fix: ts

* perf: fetch anamation

* perf: mark ux

* doc

* perf: select app ux

* fix: split text custom string conflict

* peref: inform readed

* doc

* memo flow component

* perf: version

* faq

* feat: flow max runtimes

* feat: similarity tip

* feat: auto detect file encoding

* Supports asymmetric vector model

* fix: ts

* perf: max w

* move code

* perf: hide whisper

* fix: ts

* feat: system msg modal

* perf: catch error

* perf: inform tip

* fix: inform

---------

Co-authored-by: heheer <[email protected]>
Co-authored-by: xiaotian <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants