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
46k stars 6.48k forks source link

Welcome message configured but option disappeared in web component #3275

Closed wweggplant closed 3 months ago

wweggplant commented 5 months ago

Self Checks

Dify version

0.6.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

welcome message configured in Agent,and put some options.its play well in preview viewer but not in my web app。

image image

import by embed,code like:

<script>
 window.difyChatbotConfig = {
  token: 'lAxSbxHJt6Agboq2',
  baseUrl: 'http://10.130.142.38'
 }
</script>
<script
 src="http://10.130.142.38/embed.min.js"
 id="lAxSbxHJt6Agboq2"
 defer>
</script>

✔️ Expected Behavior

show optoins which i set in web app

❌ Actual Behavior

not show

dosubot[bot] commented 5 months ago

Hey there, @wweggplant! Great to see you back in the Dify universe. Running into a bit of a snag, I see? Let’s dive into it and get those options showing up for you.

It appears the issue with the welcome message options not displaying in your web app, despite being configured in the Dify Agent, might be related to a few potential areas:

  1. Configuration or Data Propagation Delay: There could be a delay or issue with how changes made in the Dify Agent are propagated to your self-hosted application. This might be due to caching or synchronization delays.

  2. Version Compatibility: Ensure the version of the Dify application you're running (v0.6.1) supports the configurations or features you're attempting to use. There might be compatibility issues or additional steps required in later versions.

  3. Embedding Context or Browser Restrictions: The issue might also stem from how the chatbot is embedded within your web application or browser security features that prevent certain data from being loaded or displayed correctly.

To address this issue, consider the following steps:

If after these steps the issue remains, providing more specific details about your setup could help in pinpointing the exact cause.

Sources

#### About Dosu This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot.
wweggplant commented 5 months ago

Is there a plan to fix this bug? If not yet, I can try to fix it. @zxhlyh

dosubot[bot] commented 4 months ago

Hi, @wweggplant,

I'm helping the Dify team manage their backlog and am marking this issue as stale. From what I understand, the issue involves the welcome message and options configured in the Dify Agent not appearing in the web app, despite working in the preview viewer. This issue is specific to the self-hosted (Docker) version of Dify 0.6.1. There were discussions about potential areas of concern such as configuration or data propagation delay, version compatibility, and embedding context or browser restrictions. However, the resolution status is currently unresolved.

Could you please confirm if this issue is still relevant to the latest version of the Dify repository? If it is, please let the Dify team know by commenting on the issue. Otherwise, feel free to close the issue yourself, or the issue will be automatically closed in 7 days.

Thank you for your understanding and cooperation. If you have any further questions or updates, feel free to reach out.