[bug]: User embeds are inserted in the prompt each time the chat is opened.
codedealer opened this issue · 0 comments
codedealer commented
Describe the bug
User specified embeddings are inserted in the prompt each time the chat is opened resulting in duplication and context waste.
To Reproduce
Steps to reproduce the behavior:
- Create a simple text embed
- Start a new chat and use the embedding
- Use sidebar navigation to go to any other page
- Return to the chat
- After generating a new message, embedding content now doubles.
- Repeat steps 3-5, each time a new duplicate appears
Expected behavior
Embedding content is only ever used once in the prompt.
Screenshots