The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: correct indentation of repaired['required'] assignment
liangliang luo4e1edd922053
diff --git a/tools/mcp_tool_schema.py b/tools/mcp_tool_schema.pyindex c857d727fd0..5c94a1a72ad 100644--- a/tools/mcp_tool_schema.py+++ b/tools/mcp_tool_schema.py@@ -98,7 +98,7 @@ def _repair_object_shape(node):props = repaired.get("properties") or {}valid = [r for r in required if isinstance(r, str) and r in props]if len(valid) != len(required):- repaired["required"] = valid+ repaired["required"] = validreturn repaired