From 628639c56581496a8381d8d93e15acd548aa1b74 Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Mon, 11 Mar 2024 16:37:14 -0400 Subject: [PATCH] Remove ability to pass remote_api_tokens via the CLI directly --- invokeai/app/services/config/config_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/services/config/config_base.py b/invokeai/app/services/config/config_base.py index d7c8d40e2d..37d84f57bf 100644 --- a/invokeai/app/services/config/config_base.py +++ b/invokeai/app/services/config/config_base.py @@ -152,7 +152,7 @@ class InvokeAISettings(BaseSettings): @classmethod def _excluded(cls) -> List[str]: # internal fields that shouldn't be exposed as command line options - return ["type", "initconf"] + return ["type", "initconf", "remote_api_tokens"] @classmethod def _excluded_from_yaml(cls) -> List[str]: