Skip to content

Commit c305e79

Browse files
tests(ui): update tests to reflect new model parsing logic
1 parent c32949d commit c305e79

File tree

1 file changed

+3
-8
lines changed
  • invokeai/frontend/web/src/features/nodes/store/util

1 file changed

+3
-8
lines changed

invokeai/frontend/web/src/features/nodes/store/util/testUtils.ts

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -247,18 +247,12 @@ export const main_model_loader: InvocationTemplate = {
247247
fieldKind: 'input',
248248
input: 'direct',
249249
ui_hidden: false,
250-
ui_model_base: ['sd-1', 'sdxl'],
250+
ui_model_base: ['sd-1'],
251251
ui_model_type: ['main'],
252252
type: {
253253
name: 'ModelIdentifierField',
254254
cardinality: 'SINGLE',
255255
batch: false,
256-
257-
originalType: {
258-
name: 'ModelIdentifierField',
259-
cardinality: 'SINGLE',
260-
batch: false,
261-
},
262256
},
263257
},
264258
},
@@ -797,7 +791,8 @@ export const schema = {
797791
input: 'direct',
798792
orig_required: true,
799793
ui_hidden: false,
800-
ui_type: 'MainModelField',
794+
ui_model_base: ['sd-1'],
795+
ui_model_type: ['main'],
801796
},
802797
type: {
803798
type: 'string',

0 commit comments

Comments
 (0)