Merge pull request #277 from FlowiseAI/bugfix/PromptSchema

Bugfix/Invalid Prompt Schema
This commit is contained in:
Henry Heng 2023-06-09 16:37:42 +01:00 committed by GitHub
commit a01d131fc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export const getInputVariables = (paramValue: string): string[] => {
const variableStack = []
const inputVariables = []
let startIdx = 0
const endIdx = returnVal.length - 1
const endIdx = returnVal.length
while (startIdx < endIdx) {
const substr = returnVal.substring(startIdx, startIdx + 1)