continue
continue copied to clipboard
"<COMPLETION>" in autocomplete output
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: macOS 12.7.4
- Continue: v0.9.132
- IDE:1.90.0-insider
"tabAutocompleteModel": {
"title": "GPT-4o",
"provider": "openai",
"model": "gpt-4o",
"apiKey": "...",
}
Description
Every time I try to get a completion the output starts with "<COMPLETION>...the code that could be inserted"
Here is what I see in the logs:
TASK: Fill the {{FILL_HERE}} hole. Answer only with the CORRECT completion, and NOTHING ELSE. Do it now.
<COMPLETION>==========================================================================
==========================================================================
Completion:
<COMPLETION>info!("Example");
And in the tab completion, I actually see the "<COMPLETION>" there.
Presumably that should be stripped.
To reproduce
Log output
This is an example of tab completion using gpt-4o <COMPLETION>model, which is a variant of the GPT-4 model developed by OpenAI.<COMPLETION> It is designed to provide more efficient and context-aware completions. <COMPLETION>It can be used for various applications, including code completion, text generation, and more. ... {{FILL_HERE}}
</QUERY>
TASK: Fill the {{FILL_HERE}} hole. Answer only with the CORRECT completion, and NOTHING ELSE. Do it now.
<COMPLETION>==========================================================================
==========================================================================
Completion:
<COMPLETION>Overall, it aims to enhance productivity and streamline workflows for developers and content creators.