https://gitlab.synchro.net/main/sbbs/-/commit/87062103db874c07c2048efb
Modified Files:
exec/chat_llm.js
Log Message:
chat_llm: honor "= false" for boolean chat_llm.ini keys
iniGetObject() already converts true/false values to booleans, but load_config() and its callers compared these keys against the STRING
'false', which never matched. So setting any of memory_persist,
reply_dedup, memory_summary_in_prompt, stream or simulate_typos to false
was silently ignored. memory_persist = false, the documented setting for
bots in public channels that shouldn't retain anything about strangers,
still wrote per-speaker memory files.
New cfg_bool() normalizes all five in load_config() (booleans, numbers,
and false/no/off/0 strings; unset keeps the default of true), and the
use sites test the booleans.
Tested: an ini with the five keys off yields false for each, unset
yields true, and a chat turn with memory_persist = false leaves the
speaker's memory file untouched.
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net