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
Bug: incorrect max_tokens calculation when "thinking" is enabled & "budgetTokens" is set for Anthropic models #2055
This issue might be a duplicate of existing issues. Please check:
max_tokens defaults to 32000 when using a custom provider #1735: max_tokens defaults to 32000 when using a custom provider - This issue also discusses max_tokens calculation problems and suggests that max_tokens should be properly calculated based on model limits
Feel free to ignore if none of these address your specific case.
Activity
github-actions commentedon Aug 19, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
snipeship commentedon Aug 19, 2025
It seems like setting:
works, but definitely feels like an unnecessary step.