LLMClientRouter

Routes requests to available LLM clients.

Responsible for selecting which client should handle a request for a given model, based on factors like load distribution, availability, or health.

Inheritors

Properties

Link copied to clipboard
abstract val clients: List<LLMClient>

All clients that this router can use

Functions

Link copied to clipboard
abstract fun clientFor(model: LLModel): LLMClient?

Selects a client to handle the given model.