Skip to content

Commit f068368

Browse files
committed
Update main.py
1 parent c4b7c66 commit f068368

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

llms/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3831,6 +3831,9 @@ def cli_exec(cli_args, extra_args):
38313831

38323832
verify_root_path()
38333833

3834+
if cli_args.auth:
3835+
LLMS_AUTH = cli_args.auth
3836+
38343837
g_app = AppExtensions(cli_args, extra_args)
38353838

38363839
# Check for verbose mode from CLI argument or environment variables
@@ -3867,9 +3870,6 @@ def cli_exec(cli_args, extra_args):
38673870
print(f"Created default extra providers config at {home_providers_extra_path}")
38683871
return ExitCode.SUCCESS
38693872

3870-
if cli_args.auth:
3871-
LLMS_AUTH = cli_args.auth
3872-
38733873
if cli_args.providers:
38743874
if not os.path.exists(cli_args.providers):
38753875
print(f"providers.json not found at {cli_args.providers}")

0 commit comments

Comments
 (0)