Merge pull request #277 from FlowiseAI/bugfix/PromptSchema
Bugfix/Invalid Prompt Schema
This commit is contained in:
commit
a01d131fc9
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue