From c3c29a5da5d15dafbe1d4520f2a6527e60ffd3d3 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 21 Nov 2024 01:52:34 +1000 Subject: [PATCH] Update Web-LLM.py --- Web-LLM.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Web-LLM.py b/Web-LLM.py index dd3a445..616e38f 100644 --- a/Web-LLM.py +++ b/Web-LLM.py @@ -61,16 +61,13 @@ def print_header(): print(Fore.YELLOW + """ Welcome to the Advanced Research Assistant! - Commands: - - For web search: start message with '/' - Example: "/latest news on AI advancements" - - - For research mode: start message with '@' + Usage: + - Start your research query with '@' Example: "@analyze the impact of AI on healthcare" Press CTRL+D (Linux/Mac) or CTRL+Z (Windows) to submit input. """ + Style.RESET_ALL) - + def get_multiline_input() -> str: """Get multiline input using raw terminal mode for reliable CTRL+D handling""" print(f"{Fore.GREEN}📝 Enter your message (Press CTRL+D to submit):{Style.RESET_ALL}")