sonnet 4.5 doesn't work with current config template
Description
The new Sonnet 4.5 doesn't seem to work with the current config template in mods.
I get:
ERROR There was a problem with the anthropic API request.
POST "https://api.anthropic.com/v1/messages": 400 Bad Request(Request-ID: req_011CTgkhvcrYoYJkUvsizhDT) {"type":"error","error":{"type":"invalid_request_error","message":"`temperature` and`top_p` cannot both be specified for this model. Please use only one."},"request_id":"req_011CTgkhvcrYoYJkUvsizhDT"}
Version
v1.8.1
Environment
Linux / Kitty
@caarlos0 ? 🥺
I made a small PR to fix this but it seems like mods is not being maintained anymore? There's now a crush repo but I have no interest in that project.
Actually, if you look carefully you will see that someone already created an issue about disabling these: Issue https://github.com/charmbracelet/mods/issues/480
This was fixed in this PR: PR https://github.com/charmbracelet/mods/pull/550
Which was merged and part of this release: https://github.com/charmbracelet/mods/releases/tag/v1.8.1
Solution:
topp: -1
Please feel free to close this issue if this fixes it for you.