langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
48.67k stars 6.97k forks source link

Cannot display workflow page #9594

Closed KazuSh1geru closed 3 hours ago

KazuSh1geru commented 4 hours ago

Self Checks

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

dosubot[bot] commented 3 hours ago

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.