In JSON files, AI leaves a trailing quote or comma

Problem description

When the AI suggests something to me, it leaves a trailing quotation mark, in JSON.

Expected behavior

It should not leave any quotation marks or commas at the end.

Actual behavior

It leaves trailing quotation marks and commas, which would cause errors.

Steps to reproduce

  • Create a new Repl with the Blank Repl template.
  • Create a JSON file.
  • Type stuff.
  • Wait for AI to give a suggestion. It may have a quote or comma at the end.




Windows 10

Device if mobile



free tier

For some reason, the template doesn’t allow me to give a screenshot so here it is:


Link to where the bug occured

This isn’t unique to JSON, doing this in any file in any language causes this, AFAIK.

1 Like