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 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| components | ||
| context | ||
| hooks | ||
| i18n | ||
| lib | ||
| oauth | ||
| utils | ||
| vite-plugins | ||
| App.tsx | ||
| browser-panel.tsx | ||
| index.css | ||
| index.tsx | ||
| preflight.css | ||
| types.d.ts | ||
| vite-env.d.ts | ||