Skip to content

Fix: Max tokens missing for newer Anthropic models #161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

rjmacarthy
Copy link
Contributor

Fixes: #160

@rjmacarthy rjmacarthy changed the title Fix: Max tokens clause missing for newer Anthropic models Fix: Max tokens claude missing for newer Anthropic models Mar 4, 2025
@rjmacarthy rjmacarthy changed the title Fix: Max tokens claude missing for newer Anthropic models Fix: Max tokens missing for newer Anthropic models Mar 4, 2025
chore: release

add claude-3-5-sonnet-latest to getDefaultMaxTokens
@rjmacarthy rjmacarthy force-pushed the fix/max-tokens-anthropic branch from 53db3ef to 9c563d2 Compare March 6, 2025 09:40
@rjmacarthy rjmacarthy closed this Mar 8, 2025
@rjmacarthy rjmacarthy deleted the fix/max-tokens-anthropic branch March 8, 2025 00:08
@rjmacarthy rjmacarthy restored the fix/max-tokens-anthropic branch March 8, 2025 07:43
@RPate97 RPate97 reopened this Apr 21, 2025
@RPate97 RPate97 closed this Apr 21, 2025
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.

Bug: Anthropic throws unknown model for some models due to missing max tokens clause.
2 participants