coze-dev / coze-dev/coze-studio

在预览与调试中上传图片 +输入文本一直报Something error:400 Bad Request: illegal base64 data at input byte 4

Open
#2,543 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

Something error:400 Bad Request: illegal base64 data at input byte 4 。模型用的本地的ollama,模型用的qwen3-vl:2b。 单独用python调用ollama是可以打印成功了。在模型配置中也配置了enable_base64_url: true 。
输入文本时可以正常回答 。这种情况怎么解决呀

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the error in preview and debug with Ollama using qwen3-vl:2b, comparing image-plus-text requests with text-only requests. Inspect the image upload and base64 handling paths; done means uploaded images and text receive a successful model response when enable_base64_url is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
ollama, typescript
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.