mirror of
https://github.com/TheBlewish/Automated-AI-Web-Researcher-Ollama.git
synced 2025-01-18 16:37:47 +00:00
Update Web-LLM.py
This commit is contained in:
parent
4b7c3b596d
commit
c3c29a5da5
|
@ -61,16 +61,13 @@ def print_header():
|
||||||
print(Fore.YELLOW + """
|
print(Fore.YELLOW + """
|
||||||
Welcome to the Advanced Research Assistant!
|
Welcome to the Advanced Research Assistant!
|
||||||
|
|
||||||
Commands:
|
Usage:
|
||||||
- For web search: start message with '/'
|
- Start your research query with '@'
|
||||||
Example: "/latest news on AI advancements"
|
|
||||||
|
|
||||||
- For research mode: start message with '@'
|
|
||||||
Example: "@analyze the impact of AI on healthcare"
|
Example: "@analyze the impact of AI on healthcare"
|
||||||
|
|
||||||
Press CTRL+D (Linux/Mac) or CTRL+Z (Windows) to submit input.
|
Press CTRL+D (Linux/Mac) or CTRL+Z (Windows) to submit input.
|
||||||
""" + Style.RESET_ALL)
|
""" + Style.RESET_ALL)
|
||||||
|
|
||||||
def get_multiline_input() -> str:
|
def get_multiline_input() -> str:
|
||||||
"""Get multiline input using raw terminal mode for reliable CTRL+D handling"""
|
"""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}")
|
print(f"{Fore.GREEN}📝 Enter your message (Press CTRL+D to submit):{Style.RESET_ALL}")
|
||||||
|
|
Loading…
Reference in a new issue