toSpringAiMessage

fun Message.toSpringAiMessage(): <Error class: unknown class>

Convert one of our messages to a Spring AI message with multimodal support.

Note: Tool-related messages (AssistantMessageWithToolCalls, ToolResultMessage) are converted to their text-only equivalents for now. Full tool call message support will be added in Phase 3 of progressive tools implementation.