From bc6fd8c7cf7fc0a89bdb22ac6ba912ccc3a86b8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=A4usler?= Date: Thu, 3 Jul 2025 00:52:48 +0200 Subject: [PATCH] fix: config.get usage --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 522848d..577743f 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,7 @@ def main(): # Initialize LLM processor if enabled llm_processor = None - if config_manager.get_value("enable_llm", False): + if config_manager.get("enable_llm", False): print("Initializing LLM processor...") script_path = os.path.abspath(__file__) llm_processor = LLMProcessor(script_path) @@ -54,7 +54,7 @@ def main(): # Initialize the MCP server with the same Hue controller # This runs in a separate thread - if config_manager.get_value("enable_mcp", True): # Enable by default + if config_manager.get("enable_mcp", True): # Enable by default mcp_thread = threading.Thread( target=run_mcp_server, args=(bridge_ip, update_interval),