Update useAgentGraph.ts

This commit is contained in:
Abhimanyu Yadav
2024-12-02 11:15:28 +05:30
committed by GitHub
parent bd1fa8f6c2
commit 6f144ef77a

View File

@@ -366,7 +366,6 @@ export default function useAgentGraph(
nodes.forEach((node) => {
const validate = ajv.compile(node.data.inputSchema);
console.log("Validating node", node.id, node.data.inputSchema);
const errors = {} as { [key: string]: string };
// Validate values against schema using AJV