[GH-ISSUE #1117] [BUG]: Embed chat does not seem to use the workspace prompt #690

Closed
opened 2026-02-22 18:20:51 -05:00 by yindo · 3 comments
Owner

Originally created by @jaschadub on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1117

Originally assigned to: @shatfield4 on GitHub.

How are you running AnythingLLM?

Docker (remote machine)

What happened?

It appears when make an embedded widget from a workspace it seems to not be using that prompt.

Are there known steps to reproduce?

Make a workspace with some docs added to vector db.
Create a custom prompt that would be obvious when using it.
Create a embed code based on that workspace.
Put script code in a test.html file and chat with it.
If take same prompt and place in txt file, add and pin in documents list works.

Originally created by @jaschadub on GitHub (Apr 17, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1117 Originally assigned to: @shatfield4 on GitHub. ### How are you running AnythingLLM? Docker (remote machine) ### What happened? It appears when make an embedded widget from a workspace it seems to not be using that prompt. ### Are there known steps to reproduce? Make a workspace with some docs added to vector db. Create a custom prompt that would be obvious when using it. Create a embed code based on that workspace. Put script code in a test.html file and chat with it. If take same prompt and place in txt file, add and pin in documents list works.
yindo added the needs info / can't replicate label 2026-02-22 18:20:51 -05:00
yindo closed this issue 2026-02-22 18:20:51 -05:00
Author
Owner

@shatfield4 commented on GitHub (Apr 19, 2024):

I cannot replicate this bug. I have created a workspace and an embed tied to the workspace with a prompt that is obvious and it responds as it should in the embed and workspace. In your embed settings, do you have the Enable Prompt Override option enabled? In order to use the workspace prompt, that switch needs to be off.

@shatfield4 commented on GitHub (Apr 19, 2024): I cannot replicate this bug. I have created a workspace and an embed tied to the workspace with a prompt that is obvious and it responds as it should in the embed and workspace. In your embed settings, do you have the Enable Prompt Override option enabled? In order to use the workspace prompt, that switch needs to be off.
Author
Owner

@timothycarambat commented on GitHub (Apr 21, 2024):

That is the configuration for the workspace, not the embeddable widget. This issue pertains to the embed widget and if you open:
Settings >Embed widget -> edit on the embed that you are concerned about, there is a setting toggle for this.

Embed widgets simply share the same set of document, but not the same settings as chatting via the UI is not the same as using the embed widget for a lot of security reasons.

@timothycarambat commented on GitHub (Apr 21, 2024): That is the configuration for the workspace, not the embeddable widget. This issue pertains to the embed widget and if you open: Settings >Embed widget -> edit on the embed that you are concerned about, there is a setting toggle for this. Embed widgets simply share the same set of document, but not the same settings as chatting via the UI is not the same as using the embed widget for a lot of security reasons.
Author
Owner

@jaschadub commented on GitHub (Apr 24, 2024):

I created new env and was unable to replicate the issue.

@jaschadub commented on GitHub (Apr 24, 2024): I created new env and was unable to replicate the issue.
yindo changed title from [BUG]: Embed chat does not seem to use the workspace prompt to [GH-ISSUE #1117] [BUG]: Embed chat does not seem to use the workspace prompt 2026-06-05 14:36:40 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#690