feat: add message hiding assistant

This commit is contained in:
Youzini-afk
2026-04-02 16:05:29 +08:00
parent c711ff17f7
commit 03ec52d4c5
7 changed files with 703 additions and 6 deletions

View File

@@ -129,6 +129,9 @@ export function registerCoreEventHooksController(runtime) {
if (eventTypes.GENERATION_STARTED) {
bind(eventTypes.GENERATION_STARTED, handlers.onGenerationStarted);
}
if (eventTypes.GENERATION_ENDED) {
bind(eventTypes.GENERATION_ENDED, handlers.onGenerationEnded);
}
const beforeCombineCleanup = runtime.registerBeforeCombinePrompts(
handlers.onBeforeCombinePrompts,