Cannot display workflow page #6203

Closed
opened 2026-02-21 18:14:32 -05:00 by yindo · 1 comment
Owner

Originally created by @KazuSh1geru on GitHub (Oct 21, 2024).

Originally assigned to: @laipz8200 on GitHub.

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 search for existing issues, 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

0.10

Cloud or Self Hosted

Cloud

Steps to reproduce

Go to specific tool page, https://cloud.dify.ai/app//workflow

image

error log

1 validation error for LLMNodeData vision.configs Input should be a valid dictionary or instance of VisionConfigOptions [type=model_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.9/v/model_type

✔️ Expected Behavior

Go to workflow edit page.
image

Actual Behavior

cannot display edit workflow page.

Application error: a client-side exception has occurred (see the browser console for more information).

image

Originally created by @KazuSh1geru on GitHub (Oct 21, 2024). Originally assigned to: @laipz8200 on GitHub. ### 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 [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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.10 ### Cloud or Self Hosted Cloud ### Steps to reproduce Go to specific tool page, https://cloud.dify.ai/app/<hash>/workflow ![image](https://github.com/user-attachments/assets/a6119810-ece0-445b-b465-64fe067e5070) error log ``` 1 validation error for LLMNodeData vision.configs Input should be a valid dictionary or instance of VisionConfigOptions [type=model_type, input_value=None, input_type=NoneType] For further information visit https://errors.pydantic.dev/2.9/v/model_type ``` ### ✔️ Expected Behavior Go to workflow edit page. ![image](https://github.com/user-attachments/assets/d977e501-e7f1-46a3-aeb5-7be5c3c8218b) ### ❌ Actual Behavior cannot display edit workflow page. `Application error: a client-side exception has occurred (see the browser console for more information).` ![image](https://github.com/user-attachments/assets/a6119810-ece0-445b-b465-64fe067e5070)
yindo added the 🐞 bug label 2026-02-21 18:14:32 -05:00
yindo closed this issue 2026-02-21 18:14:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 21, 2024):

Hey @KazuSh1geru! 👋 I'm here to help you with bugs, questions, and more while you wait for a human maintainer. I'm Dosu, a bot designed to assist you.

I found a similar issue related to client-side exceptions in the Dify platform. The error message you're encountering seems to be related to the LLMNodeData class, specifically with the vision.configs attribute. The error indicates that the input should be a valid dictionary or an instance of VisionConfigOptions.

To resolve this issue, ensure that the vision.configs attribute in your workflow is correctly configured as a dictionary or an instance of VisionConfigOptions. This might involve checking the configuration settings in your workflow to ensure they align with the expected structure for VisionConfigOptions [1].

If you have access to the code or configuration files, you might want to verify that the VisionConfig is properly initialized with the correct options. If the issue persists, reviewing the browser console for additional error details might provide more insights into the specific configuration problem.

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Oct 21, 2024): <!-- Greeting --> Hey @KazuSh1geru! 👋 I'm here to help you with bugs, questions, and more while you wait for a human maintainer. I'm Dosu, a bot designed to assist you. <!-- Answer --> I found a similar issue related to client-side exceptions in the Dify platform. The error message you're encountering seems to be related to the `LLMNodeData` class, specifically with the `vision.configs` attribute. The error indicates that the input should be a valid dictionary or an instance of `VisionConfigOptions`. To resolve this issue, ensure that the `vision.configs` attribute in your workflow is correctly configured as a dictionary or an instance of `VisionConfigOptions`. This might involve checking the configuration settings in your workflow to ensure they align with the expected structure for `VisionConfigOptions` <sup>[[1]](https://github.com/langgenius/dify/blob/main/api/core/workflow/nodes/llm/entities.py)</sup>. If you have access to the code or configuration files, you might want to verify that the `VisionConfig` is properly initialized with the correct options. If the issue persists, reviewing the browser console for additional error details might provide more insights into the specific configuration problem. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#6203