Skip to content

Commit

Permalink
Beam: fix relaxed parsing. Fixes #528
Browse files Browse the repository at this point in the history
  • Loading branch information
enricoros committed May 7, 2024
1 parent 8903c92 commit 3b5ab0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function executeUserInputChecklist(
let options = parseTextToChecklist(previousResult, false);
const relaxMatch = options.length < 2;
if (relaxMatch)
options = parseTextToChecklist(_i.outputPrompt, relaxMatch);
options = parseTextToChecklist(previousResult, true);

// if no options, there's an error
if (options.length < 2) {
Expand Down

0 comments on commit 3b5ab0a

Please sign in to comment.