Skip to content

Conversation

muni-corn
Copy link

removes the top_p parameter if the configured model string contains -4-5. this fixes #520 , where opencommit will fail because Anthropic does not support both temperature and top_p for their 4.5 models.

@di-sukharev
Copy link
Owner

thank you @muni-corn

@muni-corn muni-corn requested a review from di-sukharev October 22, 2025 14:29
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]: temperature and top_p cannot both be specified for Claude Haiku 4.5 and Sonnet 4.5

2 participants