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