-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
The image size parameter in the cogvlm tool does not match the parameter provided on the official Zhipu website, which can cause interface errors. #8315
Comments
The image size parameter in the size_mapping = {
"square": "1024x1024",
"vertical": "1024x1792",
"horizontal": "1792x1024",
} This mapping may differ from the size parameters specified on the official Zhipu website, leading to interface errors. Additionally, the options:
- value: 256x256
label:
en_US: 256x256
- value: 512x512
label:
en_US: 512x512
- value: 768x768
label:
en_US: 768x768
- value: 1024x1024
label:
en_US: 1024x1024
- value: 1280x800
label:
en_US: 1280x800
- value: 800x1280
label:
en_US: 800x1280 The discrepancy between these predefined sizes and the ones used in the |
@ox01024 Hello can you update this tool? |
Leave it to me. I'll take care of him as soon as possible. Don't worry.
Leave it to me. I'll take care of him as soon as possible. Don't worry. |
Self Checks
Dify version
0.7.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The image size parameter in the cogvlm tool does not match the parameter provided on the official Zhipu website, which can cause interface errors.
cogvlm tool
zhipu website
error
✔️ Expected Behavior
success
❌ Actual Behavior
The text was updated successfully, but these errors were encountered: