Error encountered while calling the yi-vl-plus model. #1531

Closed
opened 2026-02-21 17:34:47 -05:00 by yindo · 0 comments
Owner

Originally created by @wurenxiaozu on GitHub (Mar 25, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.5.10

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Every time I call the yi-vl-plus model, I encounter this error.
Error log in api docker:
tYbi48KancRxuxWUWrvEf8AgSgg/gaz9mjTnP0Gtv2hf2cb7yPs/wASba2zvxLc6dNCn6p/9Y7qK/PHU9bF7YCFLbyEQYx/HRV+x8yz/9n7LkULAAAAACETXvC/cv1W5mmGqHriBEE=', detail=<DETAIL.LOW: 'low'>)] is not valid. Should be a string, a list/tuple of strings or a list/tuple of integers.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/app/api/core/application_manager.py", line 182, in _generate_worker
runner.run(
File "/app/api/core/app_runner/basic_app_runner.py", line 206, in run
self._handle_invoke_result(
File "/app/api/core/app_runner/app_runner.py", line 230, in _handle_invoke_result
self._handle_invoke_result_stream(
File "/app/api/core/app_runner/app_runner.py", line 263, in _handle_invoke_result_stream
for result in invoke_result:
File "/app/api/core/model_runtime/model_providers/__base/large_language_model.py", line 418, in _invoke_result_generator
raise self._transform_invoke_error(e)
core.model_runtime.errors.invoke.InvokeError: [yi] Error: Input [TextPromptMessageContent(type=<PromptMessageContentType.TEXT: 'text'>, data='判断图片中是否包括小票或者显示器截屏?\n'), ImagePromptMessageContent(type=<PromptMessageContentType.IMAGE: 'image'>, data='data:image/jpeg;base64,/9j/4AAQS

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @wurenxiaozu on GitHub (Mar 25, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### Dify version 0.5.10 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Every time I call the yi-vl-plus model, I encounter this error. Error log in api docker: tYbi48KancRxuxWUWrvEf8AgSgg/gaz9mjTnP0Gtv2hf2cb7yPs/wASba2zvxLc6dNCn6p/9Y7qK/PHU9bF7YCFLbyEQYx/HRV+x8yz/9n7LkULAAAAACETXvC/cv1W5mmGqHriBEE=', detail=<DETAIL.LOW: 'low'>)] is not valid. Should be a string, a list/tuple of strings or a list/tuple of integers. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/api/core/application_manager.py", line 182, in _generate_worker runner.run( File "/app/api/core/app_runner/basic_app_runner.py", line 206, in run self._handle_invoke_result( File "/app/api/core/app_runner/app_runner.py", line 230, in _handle_invoke_result self._handle_invoke_result_stream( File "/app/api/core/app_runner/app_runner.py", line 263, in _handle_invoke_result_stream for result in invoke_result: File "/app/api/core/model_runtime/model_providers/__base/large_language_model.py", line 418, in _invoke_result_generator raise self._transform_invoke_error(e) core.model_runtime.errors.invoke.InvokeError: [yi] Error: Input [TextPromptMessageContent(type=<PromptMessageContentType.TEXT: 'text'>, data='判断图片中是否包括小票或者显示器截屏?\n'), ImagePromptMessageContent(type=<PromptMessageContentType.IMAGE: 'image'>, data='data:image/jpeg;base64,/9j/4AAQS ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 17:34:47 -05:00
yindo closed this issue 2026-02-21 17:34:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1531