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
@muni-corn
Copy link
Author

hey @di-sukharev , have you had a chance to check this out again? 😁

@devacc00
Copy link

@di-sukharev ping

1 similar comment
@sKawashima
Copy link

@di-sukharev ping

@Heyian
Copy link
Contributor

Heyian commented Jan 22, 2026

@di-sukharev Would it be possible to merge this please? @muni-corn has made the requested changes and this issue forces us to either work on a fork or disable auto-updating since we can't use oco with anthropic's models without this PR...
Thanks!

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

5 participants