mirror of
https://github.com/langgenius/dify.git
synced 2026-03-05 15:00:25 -05:00
fix: add support for FILE type in ToolParameterConverter (#5578)
This commit is contained in:
@@ -58,7 +58,8 @@ class ToolParameterConverter:
|
||||
return float(value)
|
||||
else:
|
||||
return int(value)
|
||||
|
||||
case ToolParameter.ToolParameterType.FILE:
|
||||
return value
|
||||
case _:
|
||||
return str(value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user