Skip to main content
Version: 0.10.0

Function: setTelemetryEnabled()

setTelemetryEnabled(enabled): void

Defined in: fetcher/telemetry.ts:30

Enables or disables the anonymous download analytics sent to Software Mansion. Analytics are enabled by default; call setTelemetryEnabled(false) (e.g. once at app startup) to opt out. This does not affect the Hugging Face download counter, a standard model-download stat that always fires.

Parameters

enabled

boolean

Whether to send anonymous download analytics.

Returns

void

We are Software Mansion.