The vision resolution parameter of tongyi/qwen visual model is invalid #566

Closed
opened 2026-02-16 10:19:45 -05:00 by yindo · 1 comment
Owner

Originally created by @vvyun on GitHub (Aug 18, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.5.0

Plugin version

0.0.39

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The vision resolution parameter of tongyi/qwen visual model is invalid

When using the qwen vl max model for image recognition, Vision ->Resolution ->High Parameters was enabled, but it did not take effect.

I have reviewed the code in models/tongyi/models/llm/llm.py and have not set or converted the vl_high_resolution_images parameter

Explanation of qwen vl series high-resolution image understanding enable parameters in qwen official documents

The vl_high_resolution_images parameter is only supported for use in the DashScope SDK and HTTP mode.


response = dashscope.MultiModalConversation.call(
    # 若没有配置环境变量,请用百炼API Key将下行替换为:api_key="sk-xxx"
    api_key=os.getenv('DASHSCOPE_API_KEY'),
    model='qwen-vl-max-latest',  # 此处以qwen-vl-max-latest为例,可按需更换模型名称。模型列表:https://help.aliyun.com/zh/model-studio/models
    messages=messages,
    vl_high_resolution_images=True
)

✔️ Error log

No response

Originally created by @vvyun on GitHub (Aug 18, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.5.0 ### Plugin version 0.0.39 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The vision resolution parameter of tongyi/qwen visual model is invalid When using the qwen vl max model for image recognition, Vision ->Resolution ->High Parameters was enabled, but it did not take effect. I have reviewed the code in models/tongyi/models/llm/llm.py and have not set or converted the vl_high_resolution_images parameter Explanation of qwen vl series high-resolution image understanding enable parameters in qwen official documents The vl_high_resolution_images parameter is only supported for use in the DashScope SDK and HTTP mode. ``` response = dashscope.MultiModalConversation.call( # 若没有配置环境变量,请用百炼API Key将下行替换为:api_key="sk-xxx" api_key=os.getenv('DASHSCOPE_API_KEY'), model='qwen-vl-max-latest', # 此处以qwen-vl-max-latest为例,可按需更换模型名称。模型列表:https://help.aliyun.com/zh/model-studio/models messages=messages, vl_high_resolution_images=True ) ``` ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:19:45 -05:00
yindo closed this issue 2026-02-16 10:19:45 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 18, 2025):

Hi @vvyun! I'm Dosu and I’m helping the dify-official-plugins team.

The vl_high_resolution_images parameter for high-resolution image understanding in the tongyi/qwen visual model is not currently supported in the Dify plugin. The plugin does not set, convert, or pass this parameter to the DashScope SDK, so enabling "Vision -> Resolution -> High" has no effect. The relevant code in models/tongyi/models/llm/llm.py constructs model parameters but does not include vl_high_resolution_images, and the model configuration files do not expose this option either [source].

To enable this feature, you would need to update the plugin code to accept vl_high_resolution_images from user input or configuration and pass it to the DashScope API call. You would also need to add this parameter to the model config YAML and parameter rules so it appears in the UI and can be set by users. There are no documented workarounds or recent changes addressing this in the repository.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 18, 2025): <!-- Greeting --> Hi @vvyun! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the dify-official-plugins team. <!-- Answer --> The vl_high_resolution_images parameter for high-resolution image understanding in the tongyi/qwen visual model is not currently supported in the Dify plugin. The plugin does not set, convert, or pass this parameter to the DashScope SDK, so enabling "Vision -> Resolution -> High" has no effect. The relevant code in `models/tongyi/models/llm/llm.py` constructs model parameters but does not include vl_high_resolution_images, and the model configuration files do not expose this option either [[source]](https://github.com/langgenius/dify-official-plugins/blob/7528dc9775c9ba51653dd8e153f39ea2f3d6cfc4/models/tongyi/models/llm/llm.py). To enable this feature, you would need to update the plugin code to accept vl_high_resolution_images from user input or configuration and pass it to the DashScope API call. You would also need to add this parameter to the model config YAML and parameter rules so it appears in the UI and can be set by users. There are no documented workarounds or recent changes addressing this in the repository. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/73e4c9ea-6e5c-4fbe-ac32-de7a055c9526?feedback_type=other)</sup>&nbsp;&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify-official-plugins/issues/1527)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#566