Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions hermes_cli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2924,6 +2924,13 @@ def run_setup_wizard(args):

def _offer_launch_chat():
"""Prompt the user to jump straight into chat after setup."""
# Guard: chat requires interactive TTY (prompt_toolkit)
if not is_interactive_stdin():
print_noninteractive_setup_guidance(
"Chat mode requires an interactive terminal. "
"Run 'hermes chat' directly in your terminal to start."
)
return
print()
if prompt_yes_no("Launch hermes chat now?", True):
from hermes_cli.main import cmd_chat
Expand Down