SpringModelClient

class SpringModelClient(chatModel: ChatModel) : ModelClient

This is a model client that uses the Spring chat model to resolve agent routing specifications.

Parameters

chatModel

The chat model.

Constructors

Link copied to clipboard
constructor(chatModel: ChatModel)

Functions

Link copied to clipboard
open override fun call(messages: List<ChatMessage>): Result<ChatMessage, AgentRoutingSpecResolverException>

Calls the chat model with the given messages.