mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
Changed id back to type on config
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user