OptionalapiThe key used for authentication.
OptionaldefaultsDefault settings.
Identifier for the LM provider.
OptionalonCallback triggered when inference ends.
OptionalonCallback triggered on errors.
OptionalonCallback triggered when inference starts.
OptionalonCallback when a new token is received.
The URL endpoint for the provider's server.
Parameters required when creating a new LM provider instance.
LmProviderParams
Example