Class DefaultLlmClientResolver

java.lang.Object
com.agentforge4j.llm.DefaultLlmClientResolver
All Implemented Interfaces:
LlmClientResolver

public final class DefaultLlmClientResolver extends Object implements LlmClientResolver
Default LlmClientResolver: builds an immutable map of provider id to LlmClient.

discover(ObjectMapper, Collection, LlmSecretResolver) loads LlmClientFactory implementations via JPMS ServiceLoader, pairs each with a matching LlmClientConfiguration by provider id (case-insensitive), and constructs clients. resolve(String) looks up a client or fails with IllegalArgumentException.