Changed id back to type on config

This commit is contained in:
Emir Karabeg
2025-02-15 01:21:40 -08:00
parent f4773d1c51
commit 5c8bd0551f
26 changed files with 35 additions and 43 deletions
+1 -1
View File
@@ -486,7 +486,7 @@ export class Executor {
const formattedTools = Array.isArray(inputs.tools)
? inputs.tools
.map((tool: any) => {
const blockFound = getAllBlocks().find((b: BlockConfig) => b.id === tool.type)
const blockFound = getAllBlocks().find((b: BlockConfig) => b.type === tool.type)
const toolId = blockFound?.tools.access[0]
if (!toolId) return null