Skip to content

Commit ed80364

Browse files
tidy(mm): move remote_api_tokens to new ModelInstall category
1 parent 576bb4a commit ed80364

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

invokeai/app/services/config/config_default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class Categories(object):
197197
Paths: JsonDict = {"category": "Paths"}
198198
Logging: JsonDict = {"category": "Logging"}
199199
Development: JsonDict = {"category": "Development"}
200-
Other: JsonDict = {"category": "Other"}
200+
ModelInstall: JsonDict = {"category": "Model Install"}
201201
ModelCache: JsonDict = {"category": "Model Cache"}
202202
Device: JsonDict = {"category": "Device"}
203203
Generation: JsonDict = {"category": "Generation"}
@@ -304,7 +304,7 @@ class InvokeAIAppConfig(InvokeAISettings):
304304
node_cache_size : int = Field(default=512, description="How many cached nodes to keep in memory", json_schema_extra=Categories.Nodes)
305305

306306
# MODEL IMPORT
307-
remote_api_tokens : Optional[list[URLRegexToken]] = Field(default=None, description="List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token.", json_schema_extra=Categories.Other)
307+
remote_api_tokens : Optional[list[URLRegexToken]] = Field(default=None, description="List of regular expression and token pairs used when downloading models from URLs. The download URL is tested against the regex, and if it matches, the token is provided in as a Bearer token.", json_schema_extra=Categories.ModelInstall)
308308

309309
# DEPRECATED FIELDS - STILL HERE IN ORDER TO OBTAN VALUES FROM PRE-3.1 CONFIG FILES
310310
always_use_cpu : bool = Field(default=False, description="If true, use the CPU for rendering even if a GPU is available.", json_schema_extra=Categories.MemoryPerformance)

0 commit comments

Comments
 (0)