mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 00:23:17 +00:00
fix(frontend): use bracket notation for tool variable paths (#2176)
This commit is contained in:
@@ -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