Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Sharing Chatbot should have a toggle to show and hide Agent Messages #3126

Closed
tobeasim opened this issue Sep 2, 2024 · 3 comments · Fixed by #3140
Closed

[BUG] Sharing Chatbot should have a toggle to show and hide Agent Messages #3126

tobeasim opened this issue Sep 2, 2024 · 3 comments · Fixed by #3140

Comments

@tobeasim
Copy link

tobeasim commented Sep 2, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Open Agent Flow
  2. Click on "API Endpoint" or the <> button on the top
  3. Select Share Chatbot
  4. Copy the Sharing URL
  5. Open in another browser tab or window
  6. Chat with the bot
  7. See "Agent Messages"

Expected behavior
Agent Messages display should be toggle-able but the required config is missing from the options. In the "embed" option, the toggle is defined as "showAgentMessages", and when that is set to false, the embedded page does not show Agent Messages. However, in the Sharing chatbot option, there is now way to do so.

Screenshots
2FE80785-EDD6-4706-BD27-A6F50E840DC4_1_105_c

Flow
If applicable, add exported flow in order to help replicating the problem.

Setup

  • Installation [e.g. docker, npx flowise start, pnpm start]
  • Flowise Version [e.g. 1.2.11]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

@HenryHengZJ
Copy link
Contributor

You can toggle it:

  • Collapsed:
    image

  • Expanded:
    image

@tobeasim
Copy link
Author

tobeasim commented Sep 2, 2024

Thanks, but that's not what I mean. I mean that we should allow showAgentMessages to be set up to False so that the Agent Messages are not shown at all.

The issue is that previously, it was easy to create a chatbot prototype and then share the share the full URL of the bot to others for a quick review, but now with the Agent Messages showing, it can confuse others, such as business users.

Using the "Embed" option, we can turn the messages off but setting showAgentMessages=False. But there is no such option for Share Chatbot.

@tobeasim
Copy link
Author

tobeasim commented Sep 2, 2024

so by toggle, I mean't to be able to hide Agent Messages when doing a Share Chatbot in full using the URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants