Readonly[A unique symbol to identify BaseLlm classes.
ReadonlymodelStatic ReadonlysupportedList of supported models in regex for LlmRegistry.
ProtectedtrackingCreates a live connection to the LLM by delegating to the selected model. This live connection cannot be switched mid-stream, it is tied to the model selected at the time of connection.
Generates content by delegating to the selected model.
Optionalstream: booleanAppends a user content, so that model can continue to output.
LlmRequest, the request to send to the LLM.
A BaseLlm implementation that delegates to one of multiple models based on a router function.