Skip to content

Commit

Permalink
Merge pull request #1437 from fyInALT/fix/add-a-limit-to-generate-loop
Browse files Browse the repository at this point in the history
feat: add `only` to booleanFooter
  • Loading branch information
monilpat authored Dec 24, 2024
2 parents 7ddee39 + 6a7e76d commit 9d2545c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const parseShouldRespondFromText = (
: null;
};

export const booleanFooter = `Respond with a YES or a NO.`;
export const booleanFooter = `Respond with only a YES or a NO.`;

export const parseBooleanFromText = (text: string) => {
const match = text.match(/^(YES|NO)$/i);
Expand Down

0 comments on commit 9d2545c

Please sign in to comment.