mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08: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