continue
continue copied to clipboard
[CON-279] System message from prompt file present twice in prompt logs
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:*
- Continue:0.9.215
- IDE:*
Description
From https://discord.com/channels/1108621136150929458/1291763559876919406:
Following https://docs.continue.dev/customize/deep-dives/prompt-files I noticed that the system message defined in my test.prompt file is present twice in the final formatted prompt sent to the chat LLM.
For instance, "You are an expert programmer" is twice in the LLM prompt logs in VSCode. I have tested with a local ollama and a remote azure chat model. Same behaviour. Also in pycharm: there is no prompt logs (as far as I know), but looking at the logs of my local ollama instance (started with the debug flag), the system message also appears twice.
To reproduce
No response
Log output
No response