You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error message: JSON Parse error: Unterminated string] error with Kimi k 2.5 and huggingface provider in build mode #12506
build mode edit tool fails with JSON Parse error on large multi-line newString payloads
Bug Summary
after planning build model fails with a JSON Parse error: Unterminated string when the newString parameter contains a large multi-line payload with embedded code blocks, markdown formatting, and escaped characters. The JSON serialization of the edit payload appears to produce an unterminated string, causing the JSON parser to reject the input before the tool can execute.
Activity
github-actions commentedon Feb 6, 2026
This issue might be a duplicate of existing issues. Please check:
Error message: JSON Parse error: Unterminated stringerrors #10755: JSON Parse error: Unterminated string with gpt-5.2-codex model - same error message occurring during plan+build workflowFeel free to ignore if none of these address your specific case.
github-actions commentedon Apr 8, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.