feat: add prompt based hooks (#795)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
jnjpng
2026-02-05 17:55:00 -08:00
committed by GitHub
parent bbe02e90e8
commit ee28095ebc
11 changed files with 967 additions and 42 deletions

View File

@@ -22,7 +22,7 @@ export function createContextTracker(): ContextTracker {
return {
lastContextTokens: 0,
contextTokensHistory: [],
currentTurnId: 0,
currentTurnId: 0, // simple in-memory counter for now
pendingCompaction: false,
};
}