generative-ai-swift icon indicating copy to clipboard operation
generative-ai-swift copied to clipboard

JSON mode glitches out when asked to make a codeblock in markdown

Open Visual-Studio-Coder opened this issue 6 months ago • 2 comments

Description of the bug:

The response stops generating randomly, and causes an incomplete JSON to be formed.

Actual vs expected behavior:

It says something like

"What is the following code supposed to do?\n\n"

instead of "What is the following code supposed to do?\n\njava System.out.print("helloworld");"

It just stops generating the prompt for some reason. this is also recreatable in the AI Studio

Any other information you'd like to share?

No response

Visual-Studio-Coder avatar Aug 08 '24 05:08 Visual-Studio-Coder