Fix excerpt not added if it's a substring of content #188

Open
scriptype wants to merge 1 commit from scriptype/master into master
scriptype commented 2026-06-05 03:41:51 +00:00 (Migrated from github.com)

This fixes #187

By removing substring check before adding excerpt.

Also deleted the test case that verified that the buggy behaviour was working.

This fixes #187 By removing substring check before adding excerpt. Also deleted the test case that verified that the buggy behaviour was working.
This pull request has changes conflicting with the target branch.
  • lib/stringify.js
  • test/stringify.js
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "scriptype/master:scriptype/master"
git switch "scriptype/master"
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rtlabs-llm-agents/gms-gray-matter!188
No description provided.