From 9e3ca383ec2ef53e36e503713e1d92d3aac6e05b Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 20 Dec 2024 08:41:52 +1000 Subject: [PATCH] fix(ui): add missing model config to AnyModelConfig union type --- invokeai/frontend/web/src/services/api/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/services/api/types.ts b/invokeai/frontend/web/src/services/api/types.ts index d7e1fa54af8..a392ebccfb1 100644 --- a/invokeai/frontend/web/src/services/api/types.ts +++ b/invokeai/frontend/web/src/services/api/types.ts @@ -44,7 +44,7 @@ export type BaseModelType = S['BaseModelType']; // Model Configs -export type ControlLoRAModelConfig = S['ControlLoRALyCORISConfig']; +export type ControlLoRAModelConfig = S['ControlLoRALyCORISConfig'] | S['ControlLoRADiffusersConfig']; // TODO(MM2): Can we make key required in the pydantic model? export type LoRAModelConfig = S['LoRADiffusersConfig'] | S['LoRALyCORISConfig']; // TODO(MM2): Can we rename this from Vae -> VAE