* fix: sanitize Read tool args to prevent retry loops from non-Anthropic models * fix: sanitize invalid Read pages from tool args Non-Anthropic models sometimes emit optional Read args like pages: "" for non-PDF files, which Claude Code rejects before the tool runs. Drop invalid pages values, keep valid PDF page ranges, and coerce numeric string bounds before clamping limit/offset. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| claude-to-openai.js | ||
| commandcode-to-openai.js | ||
| cursor-to-openai.js | ||
| gemini-to-openai.js | ||
| kiro-to-openai.js | ||
| ollama-to-openai.js | ||
| openai-responses.js | ||
| openai-to-antigravity.js | ||
| openai-to-claude.js | ||