From 57177b8354fa0a3e256b6ec3e895e49ec4dfe5ed Mon Sep 17 00:00:00 2001 From: Harsh-2005d Date: Thu, 12 Mar 2026 15:43:37 +0530 Subject: [PATCH] fix: cli apikey bug fix --- packages/python/src/withoutbg/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/python/src/withoutbg/cli.py b/packages/python/src/withoutbg/cli.py index 54b3f60..7ed984c 100644 --- a/packages/python/src/withoutbg/cli.py +++ b/packages/python/src/withoutbg/cli.py @@ -87,7 +87,7 @@ def main( try: # Determine if using API - using_api = use_api or api_key or model == "api" + using_api = use_api or model == "api" if using_api and not api_key: click.echo("Error: API key required when using API service", err=True)