Skip to content

Commit 6c2da8c

Browse files
fix(mm): json schema for UnknownModelConfig again
1 parent 74e5695 commit 6c2da8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/backend/model_manager/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def parse(cls, mod: ModelOnDisk) -> dict[str, Any]:
292292

293293
@staticmethod
294294
def json_schema_extra(schema: dict[str, Any]) -> None:
295-
schema["required"] = list(set(schema["required"].extend(["key", "base", "type", "format"])))
295+
schema["required"].extend(["key", "type", "base", "format"])
296296

297297
model_config = ConfigDict(validate_assignment=True, json_schema_extra=json_schema_extra)
298298

0 commit comments

Comments
 (0)