call

open override fun call(messages: List<ChatMessage>): Result<ChatMessage, AgentRoutingSpecResolverException>

Calls the chat model with the given messages.

Return

The result of the call.

Parameters

messages

The messages.