Abstract The model name if available, "unknown" otherwise.
Plugins should override this property to provide their model information.
Get the provider name for this LLM instance.
The provider name if available, "unknown" otherwise.
Plugins should override this property to provide their provider information.
Abstract chatReturns a LLMStream that can be used to push text and receive LLM responses.
Optional connOptional extraOptional parallelOptional toolOptional toolTools to advertise to the LLM. Accepts either a ToolContext instance or a raw
(FunctionTool | ProviderTool)[] array — the array form is normalized into a
ToolContext internally so callers don't have to construct one themselves.
Abstract labelPre-warm connection to the LLM service.
Establishes DNS resolution and the TLS connection to the provider before the first inference request, reducing time-to-first-token on the initial reply. Non-blocking (fire-and-forget) and idempotent; calls made after aclose are ignored. Providers enable it by overriding _prewarmImpl.
Get the model name/identifier for this LLM instance.