Changes
PR #2111 by ksylvan: fix: omit Anthropic sampling params for Claude Opus 4.7
- Fix: Omit Anthropic sampling parameters for Claude Opus 4.7 to ensure compatibility.
- Add a sampling parameter guard specifically for Opus 4.7.
- Omit
temperatureandtop_pfor models that do not support these parameters. - Preserve existing
TopPand temperature selection behavior for compatible models. - Add unit test coverage for the Opus 4.7 sampling parameter omission.