diff --git a/invokeai/backend/model_manager/config.py b/invokeai/backend/model_manager/config.py index afbb8d5722..e01379cc1f 100644 --- a/invokeai/backend/model_manager/config.py +++ b/invokeai/backend/model_manager/config.py @@ -326,7 +326,7 @@ def get_model_discriminator_value(v: Any) -> str: """ if isinstance(v, dict): return f"{v.get('type')}.{v.get('format')}" # pyright: ignore [reportUnknownMemberType] - return f"{v.getattr('type')}.{v.getattr('format')}" + return f"{v.type}.{v.format}" AnyModelConfig = Annotated[