Skip to content

Commit 4a20377

Browse files
tidy(config): move version "setting" to new CLIArgs category
It's not actually a setting.
1 parent ed80364 commit 4a20377

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

invokeai/app/services/config/config_default.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ class Categories(object):
197197
Paths: JsonDict = {"category": "Paths"}
198198
Logging: JsonDict = {"category": "Logging"}
199199
Development: JsonDict = {"category": "Development"}
200+
CLIArgs: JsonDict = {"category": "CLIArgs"}
200201
ModelInstall: JsonDict = {"category": "Model Install"}
201202
ModelCache: JsonDict = {"category": "Model Cache"}
202203
Device: JsonDict = {"category": "Device"}
@@ -274,7 +275,7 @@ class InvokeAIAppConfig(InvokeAISettings):
274275
profiles_dir : Path = Field(default=Path('profiles'), description="Directory for graph profiles", json_schema_extra=Categories.Development)
275276
skip_model_hash : bool = Field(default=False, description="Skip model hashing, instead assigning a UUID to models. Useful when using a memory db to reduce startup time.", json_schema_extra=Categories.Development)
276277

277-
version : bool = Field(default=False, description="Show InvokeAI version and exit", json_schema_extra=Categories.Other)
278+
version : bool = Field(default=False, description="Show InvokeAI version and exit", json_schema_extra=Categories.CLIArgs)
278279

279280
# CACHE
280281
ram : float = Field(default=DEFAULT_RAM_CACHE, gt=0, description="Maximum memory amount used by model cache for rapid switching (floating point number, GB)", json_schema_extra=Categories.ModelCache, )

0 commit comments

Comments
 (0)