opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

fix(anthropic): remove `top_p` parameter for Claude 4.5 models

Open muni-corn opened this issue 1 month ago • 3 comments
trafficstars

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.

muni-corn avatar Oct 20 '25 21:10 muni-corn