mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
This PR adds an experimental feature to automatically repair malformed JSON responses from LLMs that struggle with strict output formats. Changes: - Add llmResponseRepair experimental setting - Create JSON repair utility (repair-json.ts) with support for: - Trailing commas - Single quotes to double quotes conversion - Unquoted keys - Missing closing brackets/braces - Prefixed text stripping - Markdown code block extraction - Integrate repair into NativeToolCallParser as fallback when JSON.parse fails - Add comprehensive test suite for the repair utility Closes #10481 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| browser-panel.html | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||