continue icon indicating copy to clipboard operation
continue copied to clipboard

[CON-279] System message from prompt file present twice in prompt logs

Open sestinj opened this issue 1 year ago • 1 comments

Before submitting your bug report

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

CON-279

sestinj avatar Oct 04 '24 16:10 sestinj