diff --git a/agent/anthropic_adapter.py b/agent/anthropic_adapter.py index dea1e8832..79f8ac1a4 100644 --- a/agent/anthropic_adapter.py +++ b/agent/anthropic_adapter.py @@ -463,17 +463,22 @@ def run_hermes_oauth_login() -> Optional[str]: print() print("Authorize Hermes with your Claude Pro/Max subscription.") print() - print("Open this link in your browser:") + print("╭─ Claude Pro/Max Authorization ────────────────────╮") + print("│ │") + print("│ Open this link in your browser: │") + print("╰───────────────────────────────────────────────────╯") print() print(f" {auth_url}") print() - # Try to open browser automatically (works on desktop, silently fails on headless) + # Try to open browser automatically (works on desktop, silently fails on headless/SSH) try: webbrowser.open(auth_url) + print(" (Browser opened automatically)") except Exception: pass + print() print("After authorizing, you'll see a code. Paste it below.") print() try: