Skip to content

Commit 518a896

Browse files
psychedeliciousmaryhipp
authored andcommitted
feat(mm): add usage_info to model config
1 parent 2647ff1 commit 518a896

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

invokeai/backend/model_manager/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ def json_schema_extra(schema: dict[str, Any]) -> None:
144144
submodels: Optional[Dict[SubModelType, SubmodelDefinition]] = Field(
145145
description="Loadable submodels in this model", default=None
146146
)
147+
usage_info: Optional[str] = Field(default=None, description="Usage information for this model")
147148

148149
_USING_LEGACY_PROBE: ClassVar[set] = set()
149150
_USING_CLASSIFY_API: ClassVar[set] = set()

0 commit comments

Comments
 (0)