Skip to content

feat(memory): support configurable summarizer prompt seeds#50

Merged
cpluss merged 4 commits intomainfrom
fix/summary-prompting
Feb 13, 2026
Merged

feat(memory): support configurable summarizer prompt seeds#50
cpluss merged 4 commits intomainfrom
fix/summary-prompting

Conversation

@cpluss
Copy link
Contributor

@cpluss cpluss commented Feb 13, 2026

Summary

  • add configurable summarizer prompt seeding via prompt on both SummarizerConfig and SummarizerOptions
  • support three prompt modes: raw system string, prompt/builder seed, or callback factory based on existingSummary
  • keep history + summarize/update instructions framework-owned and consistently appended after the seed
  • narrow callback context to existingSummary only to avoid accidental history duplication

Tests

  • npm test -- tests/dsl/summary.test.ts
  • added coverage for string override, callback factory, prompt builder seed, and per-call prompt precedence

@cpluss cpluss merged commit 8887611 into main Feb 13, 2026
1 check passed
@cpluss cpluss deleted the fix/summary-prompting branch February 13, 2026 11:54
@github-actions
Copy link

🎉 This PR is included in version 1.7.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant