mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-13 06:14:51 +00:00
fix(frontend): use bracket notation for tool variable paths (#2176)
This commit is contained in:
1 file changed
+1
-1
@@ -191,7 +191,7 @@ const useToolVariables = () => {
|
||||
}
|
||||
filteredActions.push({
|
||||
label: `${action.name} (${tool.displayName || tool.name})`,
|
||||
value: `tools.${toolIdentifier}.${action.name}`,
|
||||
value: `tools['${toolIdentifier}'].${action.name}`,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user