9be7c0b1d29f6c52a2c3e26ba0762aaf051a5e70
config_manager.runtime_state was a plain dict initialized with hardcoded defaults (dm_mood='neutral', evil_mode=False, etc.) that were never updated by any code path except current_gpu. The /config/state endpoint and get_full_config() both returned this stale dict, so the API always reported neutral mood and english mode regardless of actual state. Replaced the static dict with a @property that reads live values from globals (DM_MOOD, EVIL_MODE, BIPOLAR_MODE, LANGUAGE_MODE) on every access. GPU state is still managed via _current_gpu and persisted to gpu_state.json. get_state() and set_state() continue to work for the GPU path.
Description
Llama.cpp-powered Hatsune Miku Discord bot with autonomous features, chat, and image generation
Languages
Python
82.1%
JavaScript
10.1%
HTML
4.1%
Jupyter Notebook
1.2%
Shell
1%
Other
1.5%