diff --git a/main.py b/main.py index 3d502aa..92be22d 100644 --- a/main.py +++ b/main.py @@ -33,7 +33,8 @@ def main(): llm_processor = LLMProcessor(script_path) # if test flag set from args, process text - if sys.argv[1] == "--test-llm": + print("trace: sys.argv", sys.argv) + if any("--test-llm" in arg for arg in sys.argv): llm_processor.process_text("hello LLM", lambda result: print(f"\nLLM Response:\n{result}\n")) # Initialize speech-to-text if enabled