-
Notifications
You must be signed in to change notification settings - Fork 57
Config
Some Stealth configuration options are mentioned inline in their respective doc pages. This page serves as a global reference for all Stealth configuration options. You can set Stealth configuration options via:
Stealth.config.<attribute> = <value>
default = 1.0
The dynamic delay multiplier allows you to speed up or slow down dynamic delays. A value of > 1.0
will slow down all dynamic delays. A value < 1.0
will speed up delays (by making them shorter).
default = 0
The session TTL allows you to specify a (time-to-live) value for session keys. The expiration applies to primary session keys, previous_session keys, and step_back_to keys. A value of 0
disables session expiration making them persist forever. The value should be specified in seconds. So for an expiration of 15 days, you would specify a value of 1_296_000
(15 days * 24 hours * 60 min * 60 secs
).
default = false
Transcript logging logs the content of user messages in addition to bot replies. Logging is done via STDOUT
like other log events. Enabling transcript logging will increase the log data volume. Be sure to inform your users about the length of time their chat transcripts will be stored in your logs.