I regularly get crash out errors with Rovodev crashing out when processing json files.
[{'type': 'json_invalid', 'loc': (), 'msg': 'Invalid JSON: EOF while parsing an object at line 1 column 49', 'inp.
╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Failed to generate an LLM response. │
│ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ To resume your session, restart Rovo Dev CLI with the --restore flag. │
╰──────────────────────────────────────────────────────────────────────
None of my other coding agents have issues with these files,..
Hi @Andy
Thanks for reporting this issue.
The error message suggests that Rovo Dev CLI is encountering problems parsing your JSON files and it may be hitting an unexpected end-of-file or malformed JSON structure. While other coding agents might be more forgiving, Rovo Dev CLI currently requires strict JSON formatting.
A few suggestions:
Double-check that your JSON files are valid and properly closed (no missing brackets or commas).
If possible, try running your file through a JSON validator before processing it with Rovo Dev CLI.
We're aware that this can be frustrating, and your feedback will help us improve error handling and compatibility in future releases.
I share all the feedback with the product team that I hear from the community, so it's always very welcome.
If you can share a sample file (with sensitive info removed), we can help investigate further.
Thank you!
Kindest regards,
Jovana
Hi Jovana,
Unfortunately the error message did not indicate which malform file is the culprit. By any chance if Rovo Dev CLI can be enhanced to inform user the culprit?
Hey @KW Lam
I agree that aspect has to improve! I shared your feedback with the product last week! I expect to see this addressed soon.
We've already implemented a few features that were provided as feedback directly from you, our community members!