klyn.llm.LLMChatSession.askMessage
method
public askMessage(userMessage as LLMThreadMessage) as String throws Exception
Description

Sends a user message with optional image and attachment references.

Throws
  • ValueException if the supplied message is not a user message.
  • Exception on provider, persistence or tool failure. Example: session.askMessage(LLMThreadMessage.user("Describe this image")).