mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Improve handling of AI-generated line numbers: - Clamp negative startLine values to 0 instead of throwing errors - Convert non-integer line numbers to integers automatically - Only reject when line numbers aren't numbers at all These changes prevent unnecessary model retries by handling imperfect AI-generated line numbers gracefully, making the system more robust when interacting with AI models. Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org> Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org> |
||
|---|---|---|
| .. | ||
| diagnostics | ||
| editor | ||
| misc | ||
| terminal | ||
| theme | ||
| workspace | ||