style: format providers docs output

This commit is contained in:
Peter Steinberger
2026-01-08 02:01:43 +00:00
parent 313925b357
commit 92a62bc300
2 changed files with 9 additions and 10 deletions

View File

@@ -117,7 +117,8 @@ export async function callGateway<T = unknown>(
: undefined) ||
process.env.CLAWDBOT_GATEWAY_PASSWORD?.trim() ||
(isRemoteMode
? typeof remote?.password === "string" && remote.password.trim().length > 0
? typeof remote?.password === "string" &&
remote.password.trim().length > 0
? remote.password.trim()
: undefined
: typeof authPassword === "string" && authPassword.trim().length > 0