Changes
PR #2297 by pcbeingused333 and ksylvan: fix(claude): omit temperature and top_p for Claude models that reject them on Bedrock gateway and Vertex AI
- Fixed Claude requests by omitting
temperatureandtop_pfor models that reject them on the Bedrock gateway and Vertex AI. - Centralized Claude sampling parameter logic so it is shared across the Anthropic and Vertex AI integrations.
- Preserved per-model restrictions and the mutually exclusive handling of sampling parameters.
- Moved sampling tests into the shared Anthropic package for consistent coverage.
- Added the corresponding changelog entry for this change.