isHistoryEnabled
isHistoryEnabled(
config):boolean
Defined in: packages/core/src/history/historyEnabled.ts:26
Whether this run persists history. Absent means ON: a default run records its turns to the
local store and checkpoints its graph state, both under the user’s own ~/.gsloth dir and
neither leaving the machine.
history.enabled: false is the opt-out and is the only value that turns it off, which is why
this tests against false rather than for truthiness — the difference between “absent” and
“explicitly off” is the whole behaviour.
Parameters
Section titled “Parameters”config
Section titled “config”HistoryConfigView | undefined
Returns
Section titled “Returns”boolean