From 0734f91151d507cf8df3e2d3fe24e867f8b6ed92 Mon Sep 17 00:00:00 2001 From: maglore9900 Date: Thu, 3 Oct 2024 17:23:34 -0400 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 78e4557..38efc3c 100644 --- a/main.py +++ b/main.py @@ -30,7 +30,7 @@ while True: text = graph.spk.listen() # if text: # print(f"User: {text}") - if text and "hey" in text.lower() and env("CHARACTER") in text.lower(): + if text and "hey" in text.lower() and env("CHARACTER").lower() in text.lower(): if "exit" in text.lower(): break print("agent invoked")