Build DeepSeek prefix messages with DeepSeekAssistantMessage.builder()

Proprietary

Spring AI 2.0 deprecated DeepSeekAssistantMessage.prefixAssistantMessage(..), and Spring AI 2.1 removed it. This replaces prefixAssistantMessage(content[, reasoningContent]) with DeepSeekAssistantMessage.builder().content(content).prefix(true)[.reasoningContent(reasoningContent)].build(), which is what the factory method returned.

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

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