mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-11 16:18:59 +08:00
fix: add support for FILE type in ToolParameterConverter (#5578)
This commit is contained in:
parent
7c9e88dfb3
commit
45a3ea6fed
@ -58,7 +58,8 @@ class ToolParameterConverter:
|
||||
return float(value)
|
||||
else:
|
||||
return int(value)
|
||||
|
||||
case ToolParameter.ToolParameterType.FILE:
|
||||
return value
|
||||
case _:
|
||||
return str(value)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user