cody
cody copied to clipboard
Unexpected empty code block in the response
Version
1.80.1
Describe the bug
When code contains backticks, unpaired three backticks (actually it's expected to be "unpaired", because they are not the begin of codeblock) in the LLM's response body may result in an empty code block at the end of the response.
See the attachment
Expected behavior
Should not contain empty code blocks
Additional context
No response