Remove ability to pass remote_api_tokens via the CLI directly

This commit is contained in:
Brandon Rising 2024-03-11 16:37:14 -04:00
parent 149ff758b9
commit 628639c565

View File

@ -152,7 +152,7 @@ class InvokeAISettings(BaseSettings):
@classmethod @classmethod
def _excluded(cls) -> List[str]: def _excluded(cls) -> List[str]:
# internal fields that shouldn't be exposed as command line options # internal fields that shouldn't be exposed as command line options
return ["type", "initconf"] return ["type", "initconf", "remote_api_tokens"]
@classmethod @classmethod
def _excluded_from_yaml(cls) -> List[str]: def _excluded_from_yaml(cls) -> List[str]: