fix: config.get usage
This commit is contained in:
parent
ee7a4d716e
commit
bc6fd8c7cf
1 changed files with 2 additions and 2 deletions
4
main.py
4
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),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue