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
53.37k stars 7.8k forks source link

Can not hide workflow details #11087

Closed MKingWang closed 5 days ago

MKingWang commented 6 days ago

Self Checks

Dify version

0.12.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

image

✔️ Expected Behavior

hide workflow details in WebApp

❌ Actual Behavior

cant click the show or hide workflow details in WebApp button

dosubot[bot] commented 6 days ago

@MKingWang Hello there! I'm here to help you with any bugs, questions, or contributions while we wait for a human maintainer. Let's tackle this together!

I found two similar discussions that might be relevant to your issue:

  1. Help:How to hide workflows from users? - This discussion is still open and might contain insights or ongoing solutions related to hiding workflows [1].

  2. How can I hide my workflow? - This is another open discussion that could provide useful information or approaches to your problem [2].

For your specific issue with the show/hide workflow details button in the Dify WebApp, the function responsible for this is switchTab. It handles switching between different tabs, including the 'DETAIL' tab, which is related to showing or hiding workflow details [3][4].

If the button is not functioning as expected, you might want to check if there are any JavaScript errors in the console or if there are any CSS styles that might be interfering with the button's functionality. Additionally, ensure that all necessary data is available, as the switchTab function requires certain conditions to be met before allowing a switch to the 'DETAIL' tab [5].

To continue talking to Dosu, mention @dosu.

perzeuss commented 6 days ago

Hi, I assume you see this in the settings for an Agent? This feature does not work with Agents. Agents don't have workflow logs, they just have tool calls. There is no feature to hide tool calls.