Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Remove the processing of single quote when testing API tools. (#11390)
Wei Mingzhi28231d39a4a1
diff --git a/api/core/tools/tool/api_tool.py b/api/core/tools/tool/api_tool.pyindex 0b4c5bd2c6f..636debffd46 100644--- a/api/core/tools/tool/api_tool.py+++ b/api/core/tools/tool/api_tool.py@@ -270,9 +270,6 @@ class ApiTool(Tool):elif property["type"] == "object" or property["type"] == "array":if isinstance(value, str):try:- # an array str like '[1,2]' also can convert to list [1,2] through json.loads- # json not support single quote, but we can support it- value = value.replace("'", '"')return json.loads(value)except ValueError:return value