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
Instead of silently capping max_tokens, raise a ValueError so Claude Code
sees the error and can adjust its request. Fixes 400 INVALID_ARGUMENT errors
when clients send max_tokens > 64000 for Claude models.
0 commit comments