obsidian-copilot icon indicating copy to clipboard operation
obsidian-copilot copied to clipboard

Duplicate User Prompts in Saved Notes

Open ckep1 opened this issue 1 year ago • 1 comments

Describe the bug When saving the chat as a note, I get the user prompt duplicated each turn.

To Reproduce Have a chat conversation (any length) in any of the 3 modes. Happens with Ollama and Anthropic as far as I've tested.

Expected behavior Output the user prompt once per turn.

Screenshots Screenshot 2024-03-24 at 9 38 32 PM

Screenshot 2024-03-24 at 9 38 43 PM

Additional context The AI output does not get duplicated, no other issues with saving as far as I can tell. I have a lot of other plugins active so it could be something that's interfering. I have a custom system prompt.

ckep1 avatar Mar 25 '24 01:03 ckep1

Hmm interesting, will take a look

logancyang avatar Mar 26 '24 18:03 logancyang

it also happens without a custom prompt

byronbowerman avatar May 24 '24 06:05 byronbowerman