2e23cb64ca
A lorebook is inert until something selects it, and SillyTavern gates three ways -- globally, per character card, and per persona. All of that selection lives in settings.json, which is untracked, so versioning worlds/*.json alone captured the content and lost the wiring. A restore would have handed back every lorebook with no record of which were active or what the token budget was. _text/world-settings.json now carries the selection and the tuning that decides how entries fire: budget, scan depth, recursion, whole-word matching, and the character-vs-global strategy. Non-secret, small, and regenerated by the same pre-commit hook.
21 lines
576 B
JSON
21 lines
576 B
JSON
{
|
|
"world_info_settings": {
|
|
"world_info": {
|
|
"globalSelect": []
|
|
},
|
|
"world_info_budget": 25,
|
|
"world_info_budget_cap": 0,
|
|
"world_info_case_sensitive": false,
|
|
"world_info_character_strategy": 1,
|
|
"world_info_depth": 2,
|
|
"world_info_include_names": true,
|
|
"world_info_match_whole_words": true,
|
|
"world_info_max_recursion_steps": 0,
|
|
"world_info_min_activations": 0,
|
|
"world_info_min_activations_depth_max": 0,
|
|
"world_info_overflow_alert": false,
|
|
"world_info_recursive": true,
|
|
"world_info_use_group_scoring": false
|
|
}
|
|
}
|