Update cli/commands/init.py

Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
ZdenekSrotyr 2026-05-04 23:25:06 +02:00 committed by GitHub
parent 0430c0de00
commit 4c7ce9ce32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,7 +100,7 @@ def init(
if resp.status_code == 401: if resp.status_code == 401:
typer.echo(render_error(401, {"detail": { typer.echo(render_error(401, {"detail": {
"kind": "auth_failed", "kind": "auth_failed",
"hint": f"Token expired or invalid — get a fresh one at {server_url}/setup?role=analyst", "hint": f"Token expired or invalid — get a fresh one at {server_url}/setup",
}}), err=True) }}), err=True)
raise typer.Exit(1) raise typer.Exit(1)
resp.raise_for_status() resp.raise_for_status()