Build DeepSeek prefix messages with DeepSeekAssistantMessage.builder()
ProprietarySpring 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. UseDeepSeekAssistantMessageBuildermod run . --recipe= io. moderne. java. spring. ai2. UseDeepSeekAssistantMessageBuilderInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.