fix(frontend): use bracket notation for tool variable paths (#2176)

This commit is contained in:
Alex
2025-11-26 17:12:02 +00:00
committed by GitHub
parent 899b30da5e
commit 3352d42414

View File

@@ -191,7 +191,7 @@ const useToolVariables = () => {
} }
filteredActions.push({ filteredActions.push({
label: `${action.name} (${tool.displayName || tool.name})`, label: `${action.name} (${tool.displayName || tool.name})`,
value: `tools.${toolIdentifier}.${action.name}`, value: `tools['${toolIdentifier}'].${action.name}`,
}); });
} }
} }