Repository navigation
Open
Labels
enhancementNew feature or requesthacktoberfestOpen for Hacktoberfest contributorshelp wantedExtra attention is needed
Description
Long threads overflow the model's context. Add memory processors that run before each model call: trim old turns to a budget, drop exact duplicates, and pull back the most relevant earlier messages.
Where to start
typescript/packages/core/src/memoryandpython/src/threadsai/memory.
Done when
trim({ maxTokens }),dedupe()andrecall({ k })processors in both languages, composable in order, configured onagent({ memory }).- What a processor removed or added is recorded in the log, so a replay shows exactly what the model saw.
- Tests for each processor and for replay, plus a docs page.
General asks
- Show it working: test output plus a short example script, or a recording of a real run, in the pull request.
- TypeScript and Python follow one spec (
spec/). Change both, or open the TypeScript half first and say so in the pull request. - Keep the pull request to one change and run each language's checks (see
typescript/README.mdandpython/README.md). - Comment here to claim it; a maintainer confirms who has it.
Using AI tools, and what gets no reply
- AI help is fine. Blind AI output is not. You must understand every line you submit, run it yourself, and show it working in the app with your own screenshots or recording.
- Pull requests that look generated and untested get closed without a reply and labeled
spam, which also means they don't count for Hacktoberfest. Signs we look for: no proof from a real run, code that ignores this repo's patterns or reinvents helpers that already exist, unrelated files changed, a description that only restates the issue, and failing checks nobody looked at. - One pull request per issue, by the person who claimed it. Opening pull requests on issues someone else has taken, or several near-identical pull requests for the same bounty, counts as farming and gets the same treatment.
- Bounties are paid only for the verified outcome the issue describes (for example, a workshop that actually happened, or an app that works on both systems), never for a write-up, a plan, or an unfinished attempt.
- When we ask a question in review, answer it in your own words. If you can't explain your change, we can't merge it.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requesthacktoberfestOpen for Hacktoberfest contributorshelp wantedExtra attention is needed
Activity