diff --git a/internal/types/entities/plugin_entities/constant.go b/internal/types/entities/plugin_entities/constant.go index 6671986..9181e6a 100644 --- a/internal/types/entities/plugin_entities/constant.go +++ b/internal/types/entities/plugin_entities/constant.go @@ -7,6 +7,7 @@ const ( STRING = "string" NUMBER = "number" FILE = "file" + FILES = "files" BOOLEAN = "boolean" APP_SELECTOR = "app-selector" MODEL_SELECTOR = "model-selector" diff --git a/internal/types/entities/plugin_entities/tool_declaration.go b/internal/types/entities/plugin_entities/tool_declaration.go index 513664e..e199666 100644 --- a/internal/types/entities/plugin_entities/tool_declaration.go +++ b/internal/types/entities/plugin_entities/tool_declaration.go @@ -35,6 +35,7 @@ const ( TOOL_PARAMETER_TYPE_SELECT ToolParameterType = SELECT TOOL_PARAMETER_TYPE_SECRET_INPUT ToolParameterType = SECRET_INPUT TOOL_PARAMETER_TYPE_FILE ToolParameterType = FILE + TOOL_PARAMETER_TYPE_FILES ToolParameterType = FILES TOOL_PARAMETER_TYPE_APP_SELECTOR ToolParameterType = APP_SELECTOR TOOL_PARAMETER_TYPE_MODEL_SELECTOR ToolParameterType = MODEL_SELECTOR // TOOL_PARAMETER_TYPE_TOOL_SELECTOR ToolParameterType = TOOL_SELECTOR @@ -49,6 +50,7 @@ func isToolParameterType(fl validator.FieldLevel) bool { string(TOOL_PARAMETER_TYPE_SELECT), string(TOOL_PARAMETER_TYPE_SECRET_INPUT), string(TOOL_PARAMETER_TYPE_FILE), + string(TOOL_PARAMETER_TYPE_FILES), // string(TOOL_PARAMETER_TYPE_TOOL_SELECTOR), string(TOOL_PARAMETER_TYPE_APP_SELECTOR), string(TOOL_PARAMETER_TYPE_MODEL_SELECTOR):