diff --git a/api/core/tools/utils/parser.py b/api/core/tools/utils/parser.py index 57282f0013..aabd0bb9a1 100644 --- a/api/core/tools/utils/parser.py +++ b/api/core/tools/utils/parser.py @@ -170,7 +170,7 @@ class ApiBasedToolSchemaParser: return ToolParameter.ToolParameterType.NUMBER elif typ == "boolean": return ToolParameter.ToolParameterType.BOOLEAN - elif typ == 'object': + elif typ == "object": return ToolParameter.ToolParameterType.OBJECT elif typ == "string": return ToolParameter.ToolParameterType.STRING