New Claude API version: 2026-10-21. temperature, top_p and top_k are gone. Send them and you get a 400, even at default values. If you set temperature in Spring AI options, check this before you upgrade. https://platform.claude.com/docs/en/api/migration-2026-10-21
platform.claude.comMigrating to API version 2026-10-21Upgrade a Claude API integration from API version 2023-06-01 to 2026-10-21: the SDK version to install and the code changes to make.
1 repost2 likes