Roo-Code/webview-ui/src
Roo Code aff2ed2081 feat: add LLM response repair for malformed JSON tool calls
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
2026-01-06 13:32:57 +00:00
..
__tests__ chore: remove human-relay provider (#10388) 2025-12-30 15:38:46 -07:00
components feat: recursively load .roo/rules and AGENTS.md from subdirectories (#10446) 2026-01-03 15:05:48 -05:00
context feat: add LLM response repair for malformed JSON tool calls 2026-01-06 13:32:57 +00:00
hooks Add config to control public sharing (#10105) 2025-12-15 21:58:15 -05:00
i18n feat: recursively load .roo/rules and AGENTS.md from subdirectories (#10446) 2026-01-03 15:05:48 -05:00
lib Add shadcn/ui + Storybook 2025-01-30 12:50:09 -08:00
oauth Remove Glama provider (#9801) 2025-12-10 14:08:29 -08:00
utils feat: remove strict ARN validation for Bedrock custom ARN users (#10110) 2025-12-15 23:25:41 -05:00
vite-plugins fix: prevent empty mode names from being saved (fixes #5766) (#5767) 2025-08-04 11:03:34 -07:00
App.tsx chore: remove human-relay provider (#10388) 2025-12-30 15:38:46 -07:00
browser-panel.tsx Browser Use 2.0 (#8941) 2025-11-21 17:26:15 -05:00
index.css ux: Provider-centric signup (#10306) 2025-12-23 14:59:29 -08:00
index.tsx PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
preflight.css Bring most of Tailwind's preflight.css back 2025-02-03 12:18:28 -08:00
types.d.ts Welcome page OAuth (#1913) 2025-03-23 10:08:16 -04:00
vite-env.d.ts Remove lucide 2025-01-30 14:47:59 -08:00