Skip to content

Commit

Permalink
fix: summarize
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Dec 2, 2024
1 parent ae970a6 commit 348aa23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/types/entities/plugin_entities/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const (
STRING = "string"
NUMBER = "number"
FILE = "file"
FILES = "files"
BOOLEAN = "boolean"
APP_SELECTOR = "app-selector"
MODEL_SELECTOR = "model-selector"
Expand Down
2 changes: 2 additions & 0 deletions internal/types/entities/plugin_entities/tool_declaration.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 348aa23

Please sign in to comment.