Skip to content

When LLM generate markdown with code start with three backquote, usually it will be broken, missing the second three backquote #6059

@zhangchunlin

Description

@zhangchunlin

Before submitting your bug report

Relevant environment info

- OS:Ubuntu 24.04
- Continue version: 1.0.11
- IDE version: vscode 1.98.2
- Model: all model for example deepseek v3
- config:
  

  
  OR link to assistant in Continue hub:

Description

When I use continue ctrl+i to edit and generate in a markdown .md file, if it generate a code block start with three backquote , it is very possible that it cannot finish the whole output, look like missing some part including the secode three backquote, it won't happen in cursor or voideditor with same model.

To reproduce

Write prompt to continue to write some code in markdown file, can be reproduce.
If I add some prompt like "do not use three backquote but use <code>" the generation can be finished.

Log output

Metadata

Metadata

Labels

area:inline-editRelates to the auto refactor featureide:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions