When using the qwen-vl-max model for image understanding, smaller images work properly, but errors occur when the image size exceeds 4MB. #94

Closed
opened 2026-02-16 00:19:45 -05:00 by yindo · 2 comments
Owner

Originally created by @7298 on GitHub (Apr 18, 2025).

May I ask where this configuration is controlled? How to solve it? Note: The function was normal in version 0.15.3, but this bug occurred after the recent upgrade to version 1.2.0.
V0.15.3
Image
V1.2.0

Image

Image

Error Details :
2025-04-18 15:36:53 [GIN] 2025/04/18 - 07:36:53 | 200 | 7.702766ms | 172.18.0.7 | POST "/plugin/827c8a72-1f4f-4636-9b0c-c7a92f6ccdf7/dispatch/llm/num_tokens"
2025-04-18 15:37:13 2025/04/18 07:37:13 stdio_handle.go:134: [ERROR]plugin langgenius/tongyi:0.0.18 has an error on stdout: bufio.Scanner: token too long
2025-04-18 15:37:13 2025/04/18 07:37:13 run.go:131: [ERROR]plugin langgenius/tongyi:0.0.18 exited with error: signal: killed
2025-04-18 15:37:13 2025/04/18 07:37:13 run.go:191: [INFO]plugin langgenius/tongyi:0.0.18 stopped
2025-04-18 15:37:18 2025/04/18 07:37:18 run.go:143: [INFO]plugin langgenius/tongyi:0.0.18 started
2025-04-18 15:37:30 2025/04/18 07:37:30 stdio_handle.go:128: [INFO]plugin langgenius/tongyi:0.0.18: Installed model: tongyi
2025-04-18 15:38:17 2025/04/18 07:38:17 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout

Originally created by @7298 on GitHub (Apr 18, 2025). May I ask where this configuration is controlled? How to solve it? Note: The function was normal in version 0.15.3, but this bug occurred after the recent upgrade to version 1.2.0. V0.15.3 ![Image](https://github.com/user-attachments/assets/caf3f03b-d0d6-409d-ba20-3ca536a73a19) V1.2.0 ![Image](https://github.com/user-attachments/assets/d568766f-530b-4de2-b08f-9815ecc064c4) ![Image](https://github.com/user-attachments/assets/75eac258-d05a-428b-bbfd-3efba6c89df5) Error Details : 2025-04-18 15:36:53 [GIN] 2025/04/18 - 07:36:53 | 200 | 7.702766ms | 172.18.0.7 | POST "/plugin/827c8a72-1f4f-4636-9b0c-c7a92f6ccdf7/dispatch/llm/num_tokens" 2025-04-18 15:37:13 2025/04/18 07:37:13 stdio_handle.go:134: [ERROR]plugin langgenius/tongyi:0.0.18 has an error on stdout: bufio.Scanner: token too long 2025-04-18 15:37:13 2025/04/18 07:37:13 run.go:131: [ERROR]plugin langgenius/tongyi:0.0.18 exited with error: signal: killed 2025-04-18 15:37:13 2025/04/18 07:37:13 run.go:191: [INFO]plugin langgenius/tongyi:0.0.18 stopped 2025-04-18 15:37:18 2025/04/18 07:37:18 run.go:143: [INFO]plugin langgenius/tongyi:0.0.18 started 2025-04-18 15:37:30 2025/04/18 07:37:30 stdio_handle.go:128: [INFO]plugin langgenius/tongyi:0.0.18: Installed model: tongyi 2025-04-18 15:38:17 2025/04/18 07:38:17 factory.go:28: [ERROR]PluginDaemonInternalServerError: killed by timeout
yindo closed this issue 2026-02-16 00:19:45 -05:00
Author
Owner

@Yeuoly commented on GitHub (Apr 22, 2025):

It has been fixed in #222

@Yeuoly commented on GitHub (Apr 22, 2025): It has been fixed in #222
Author
Owner

@Colstuwjx commented on GitHub (May 23, 2025):

Hi @Yeuoly , we've also reproduced this issue, may I know what's the root cause of this issue and how this PR #222 fixed it ? Besides, is it possible to backport this patch to previous released version ?

Thanks.

@Colstuwjx commented on GitHub (May 23, 2025): Hi @Yeuoly , we've also reproduced this issue, may I know what's the root cause of this issue and how this PR #222 fixed it ? Besides, is it possible to backport this patch to previous released version ? Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#94