JSON mode glitches out when asked to make a codeblock in markdown
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
Hi @Visual-Studio-Coder, would you mind filing feedback from AI Studio when it fails? It's in the triple dots overflow menu:
Currently it doesn't sound like this is an SDK issue but if you have a reproducible example, feel free to include the details here and I can share them with some backend folks.
Ok thank you. I just decided to send it here because I just didn't know who to contact. Yk how it is with Google right? 😅
https://aistudio.google.com/app/prompts?state=%7B%22ids%22:%5B%221SvilaBYudHeewpfChp8a4_3IRLLPXFhI%22%5D,%22action%22:%22open%22,%22userId%22:%22116531269555057652166%22,%22resourceKeys%22:%7B%7D%7D&usp=sharing
Marking this issue as stale since it has been open for 14 days with no activity. This issue will be closed if no further activity occurs.
This issue was closed because it has been inactive for 28 days. Please post a new issue if you need further assistance. Thanks!