Interface: ILLMClientDeps
Defined in: internal/llm-client/types.ts:45
Shared instances LLMClient needs; created once by AIGateway and passed as the second constructor argument.
Properties
modelRegistry
modelRegistry:
IModelRegistry
Defined in: internal/llm-client/types.ts:47
Resolves a modelId to its provider and caps, and prices a call for the usage report and the trace.
trace
trace:
ITrace
Defined in: internal/llm-client/types.ts:51
Every call is recorded here; the gateway annotates the main one.
usageGuard
usageGuard:
IUsageGuard
Defined in: internal/llm-client/types.ts:49
Asked before every call and told after it, including helper calls; the app's adapter sits behind it.