diff --git a/api/core/tools/entities/tool_entities.py b/api/core/tools/entities/tool_entities.py index 9a31e673d..d8637fd2c 100644 --- a/api/core/tools/entities/tool_entities.py +++ b/api/core/tools/entities/tool_entities.py @@ -204,7 +204,7 @@ class ToolParameter(BaseModel): return str(value) except Exception: - raise ValueError(f"The tool parameter value {value} is not in correct type of {parameter_type}.") + raise ValueError(f"The tool parameter value {value} is not in correct type.") class ToolParameterForm(Enum): SCHEMA = "schema" # should be set while adding tool