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
add support for swagger object type (#3426)
LeePui38ca3b29b514
diff --git a/api/core/tools/tool/api_tool.py b/api/core/tools/tool/api_tool.pyindex 4037ef627c4..f7b963a92e8 100644--- a/api/core/tools/tool/api_tool.py+++ b/api/core/tools/tool/api_tool.py@@ -291,6 +291,16 @@ class ApiTool(Tool):elif property['type'] == 'null':if value is None:return None+ elif property['type'] == 'object':+ if isinstance(value, str):+ try:+ return json.loads(value)+ except ValueError:+ return value+ elif isinstance(value, dict):+ return value+ else:+ return valueelse:raise ValueError(f"Invalid type {property['type']} for property {property}")elif 'anyOf' in property and isinstance(property['anyOf'], list):