Migrate to Spring AI 2.1

Proprietary

Migrate applications to Spring AI 2.1.0-RC2, from Spring AI 2.0 or anything older that UpgradeSpringAi_2_0 migrates. This recipe targets a pre-release until Spring AI 2.1 reaches general availability. It replaces the APIs and configuration properties Spring AI 2.1 deprecated or removed, such as the Anthropic sampling options, and upgrades Spring AI dependencies to 2.1.

io.moderne.java.spring.ai2.UpgradeSpringAi_2_1
mod run . --recipe=io.moderne.java.spring.ai2.UpgradeSpringAi_2_1

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.