mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-07-17 12:17:24 +00:00
Add sanitizeJSON() to fix malformed decimal numbers (e.g. '0. 85' → '0.85') and trailing commas before closing brackets. Fixes extraction failures with Gemini 2.5 Flash which occasionally produces invalid JSON.