mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
plugin langgenius/openai:0.0.20 has an error on stdout: bufio.Scanner: token too long #232
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dimsky on GitHub (Apr 28, 2025).
Self Checks
Dify version
1.30
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
There are 2 bugs related to image upload:
In the workflow, when modifying the number of images, the changes don't take effect immediately. You need to exit to the application list and re-enter for the changes to take effect.
When calling the same model to upload multiple images, while it works successfully on other platforms, it times out on Dify and shows the error:
langgenius/openai:0.0.20 has an error on stdout: bufio.Scanner: token too longI tested with the same number of images and the same model (GPT-4o) - it works successfully in the cloud version, but in the community version, it fails when the number of images exceeds a certain threshold. Are there any specific configurations that need to be set up?
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@dimsky commented on GitHub (Apr 28, 2025):
Modified
MULTIMODAL_SEND_FORMAT=urlto fix the second issue.