mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-08 18:36:53 +08:00
fix(tools): remove the undefined variable parameter_type (#9908)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user