For the complete documentation index, see llms.txt. This page is also available as Markdown.

settingsStrictness

Controls whether an invalid configuration value blocks the SDK or is replaced with its default value.

Details

Attribute: settings-strictness

Type: boolean

Default value: false

Morphology

provider.settingsStrictness = true;

Description

Controls how an invalid configuration value is handled in facephi-sdk-provider and in the components it hosts (Selphi, SelphID, Video Provider and File Uploader).

  • false (default): permissive mode. The invalid value is replaced by its default value and a warning is issued in the console.

  • true: strict mode. The SDK stops execution and displays the error SettingsError (code SDK_137).

Additional information

It is not propagated to Selphi/SelphID: this value only controls the validation of the facephi-sdk-provider (and of Video Provider and File Uploader). The widgets facephi-selphi-widget and facephi-selphid-widget do not inherit it: to control their validation, you must define settingsStrictness it directly in each of them.


Example

Last updated