From 8e48f7e35361318a35da41505b1ebab7b2f224a8 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 2 Mar 2026 19:47:32 +0000 Subject: [PATCH] fix(tui): honor explicit gateway auth for url overrides --- src/tui/gateway-chat.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tui/gateway-chat.ts b/src/tui/gateway-chat.ts index f55bbf5f354..357488655c3 100644 --- a/src/tui/gateway-chat.ts +++ b/src/tui/gateway-chat.ts @@ -245,7 +245,8 @@ export function resolveGatewayConnection(opts: GatewayConnectionOptions) { const explicitAuth = resolveExplicitGatewayAuth({ token: opts.token, password: opts.password }); ensureExplicitGatewayAuth({ urlOverride, - auth: explicitAuth, + urlOverrideSource: "cli", + explicitAuth, errorHint: "Fix: pass --token or --password when using --url.", }); const url = buildGatewayConnectionDetails({