mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
added fix to get input variables from prompt
This commit is contained in:
@@ -132,7 +132,7 @@ export const getInputVariables = (paramValue: string): string[] => {
|
|||||||
const variableStack = []
|
const variableStack = []
|
||||||
const inputVariables = []
|
const inputVariables = []
|
||||||
let startIdx = 0
|
let startIdx = 0
|
||||||
const endIdx = returnVal.length - 1
|
const endIdx = returnVal.length
|
||||||
|
|
||||||
while (startIdx < endIdx) {
|
while (startIdx < endIdx) {
|
||||||
const substr = returnVal.substring(startIdx, startIdx + 1)
|
const substr = returnVal.substring(startIdx, startIdx + 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user