Update Web-LLM.py

This commit is contained in:
James 2024-11-21 01:52:34 +10:00 committed by GitHub
parent 4b7c3b596d
commit c3c29a5da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}")