fix(reactflowUtils.ts): add support for "dict" and "NestedDict" types in updateGroupNodeTemplate function
The updateGroupNodeTemplate function was updated to include support for the "dict" and "NestedDict" types. This allows the function to properly handle these types when checking if they are required or not.
This commit is contained in:
parent
98afa2192b
commit
1eca5bd40a
1 changed files with 3 additions and 1 deletions
|
|
@ -640,7 +640,9 @@ function updateGroupNodeTemplate(template: APITemplateType) {
|
|||
type === "code" ||
|
||||
type === "prompt" ||
|
||||
type === "file" ||
|
||||
type === "int") &&
|
||||
type === "int" ||
|
||||
type === "dict" ||
|
||||
type === "NestedDict") &&
|
||||
!template[key].required &&
|
||||
!input_types
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue