fix: add support for FILE type in ToolParameterConverter (#5578)

pull/5581/head
-LAN- 2 years ago committed by GitHub
parent 7c9e88dfb3
commit 45a3ea6fed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,7 +58,8 @@ class ToolParameterConverter:
return float(value)
else:
return int(value)
case ToolParameter.ToolParameterType.FILE:
return value
case _:
return str(value)

Loading…
Cancel
Save