Skip to content

Commit

Permalink
Merge pull request #277 from FlowiseAI/bugfix/PromptSchema
Browse files Browse the repository at this point in the history
Bugfix/Invalid Prompt Schema
  • Loading branch information
HenryHengZJ authored Jun 9, 2023
2 parents cc2bcde + 4da8457 commit a01d131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a01d131

Please sign in to comment.