Uses of Interface
com.agentforge4j.llm.api.LlmClient
Packages that use LlmClient
Package
Description
LLM implementation support: client resolution, service discovery, and provider wiring.
-
Uses of LlmClient in com.agentforge4j.llm
Classes in com.agentforge4j.llm that implement LlmClientModifier and TypeClassDescriptionclassBaseLlmClientfor HTTP JSON APIs: shared validation, transport, logging, and error wrapping.final classWraps an LLM client with retry logic for transient failures (decorrelated jitter backoff).Methods in com.agentforge4j.llm that return LlmClientModifier and TypeMethodDescriptionLlmClientFactory.create(LlmClientFactoryContext context) Creates a new LLM client from aLlmClientFactoryContext: the JSON mapper, the neutralLlmClientConfiguration, and theLlmSecretResolverthe provider uses to resolve its credential reference.Returns the client for the given provider id (matched case-insensitively by typical implementations).Returns the client for the given provider id (matched case-insensitively by typical implementations).Constructors in com.agentforge4j.llm with parameters of type LlmClientConstructor parameters in com.agentforge4j.llm with type arguments of type LlmClientModifierConstructorDescriptionDefaultLlmClientResolver(Collection<LlmClient> clients) Creates a resolver backed by an explicit non-empty client list (typically used in tests). -
Uses of LlmClient in com.agentforge4j.llm.fake
Classes in com.agentforge4j.llm.fake that implement LlmClientModifier and TypeClassDescriptionfinal classStatelessLlmClientthat replays pre-scripted responses instead of calling a model.Methods in com.agentforge4j.llm.fake that return LlmClientModifier and TypeMethodDescriptionFakeLlmClientFactory.create(LlmClientFactoryContext context) Creates a fake client from aLlmClientFactoryContext.