RoundRobinRouter
class RoundRobinRouter(clientsPerProvider: Map<LLMProvider, List<LLMClient>>) : LLMClientRouter(source)
Distributes requests across clients in sequential rotation, ensuring even load distribution.
When multiple clients serve the same provider, cycles through them using an atomic counter. Thread-safe for concurrent access.
Parameters
clientsPerProvider
Map of providers to their available clients