dify
dify copied to clipboard
Welcome message configured but option disappeared in web component
Self Checks
- [X] This is only for bug report, if you would like to ask a quesion, please head to Discussions.
- [X] I have searched for existing issues search for existing issues, including closed ones.
- [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [X] Pleas do not modify this template :) and fill in all the required fields.
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。
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
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:
-
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.
-
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.
-
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:
- Verify there are no errors or warnings in the Dify application logs that could indicate issues with configuration loading.
- Review the documentation for any missed steps necessary for configuration and deployment, especially for self-hosted environments.
- Test embedding the chatbot in a simple, standalone HTML page to see if the issue persists outside of your main web application, which can help isolate the problem.
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.
Is there a plan to fix this bug? If not yet, I can try to fix it. @zxhlyh
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.