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
52.42k stars 7.65k forks source link

Published workflow does not display description #10991

Open emsi opened 1 day ago

emsi commented 1 day ago

Self Checks

Dify version

0.11.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Publish a workflow with description.

Neither workflow description nor start block description is shown to the user in published workflow.

✔️ Expected Behavior

There should be a way to add some information/instruction to be shown to the user in the published workflow.

❌ Actual Behavior

No description whatsoever. Only the workflow name is displayed and"AI Completion" (beside of course input variables).

dosubot[bot] commented 1 day ago

Hey @emsi, I'm here to help you with any bugs, questions, or contributions you have for the Dify project. Let's squash those bugs together! 🤖

The issue you're experiencing with the published workflow not displaying descriptions might be related to configuration settings or conditional logic in the rendering components.

  1. Configuration Settings: There is a setting in the WebApp under "workflow" that allows you to toggle the visibility of workflow details. This is controlled by the showDesc setting, which can be set to "Anzeigen" (show) or "Verbergen" (hide) the workflow details [1].

  2. Conditional Logic: There might be conditional logic in the rendering components that affects the display of descriptions. For example, in the SegmentDetailComponent, the display of certain sections is conditional on the presence of specific data [2].

You might want to check these areas to ensure that the descriptions are configured to be visible and that there are no conditions preventing their display.

To continue talking to Dosu, mention @dosu.