Skip to content

claude enhancements#337

Merged
jdchawla29 merged 4 commits intomainfrom
j/small-improvements
Feb 18, 2026
Merged

claude enhancements#337
jdchawla29 merged 4 commits intomainfrom
j/small-improvements

Conversation

@jdchawla29
Copy link
Collaborator

@jdchawla29 jdchawla29 commented Feb 18, 2026

Note

Medium Risk
Touches Claude response generation and retry logic; behavior changes could affect message history and tool-call execution when streaming errors occur, but scope is limited and well-covered by targeted tests.

Overview
Improves Claude streaming robustness by detecting Anthropic “invalid tool parameter JSON” errors and retrying beta.messages.stream() up to 3 times: once as-is, then once more after appending a user guidance message containing the malformed payload wrapped under INVALID_JSON.

Expands the computer_20251124 native computer tool selection to include claude-sonnet-4-6* models (both in legacy fallback detection and AnthropicComputerTool native specs), and adds unit tests covering the new retry behavior and model matching.

Written by Cursor Bugbot for commit 52a4210. This will update automatically on new commits. Configure here.

@jdchawla29 jdchawla29 merged commit 56443dd into main Feb 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant