fix: keep channel typing active during long inference (#25886, thanks @stakeswky)

Co-authored-by: stakeswky <stakeswky@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-02-25 02:03:15 +00:00
parent dcd90438ec
commit e0201c2774
10 changed files with 111 additions and 16 deletions

View File

@@ -669,6 +669,8 @@ export async function processDiscordMessage(ctx: DiscordMessagePreflightContext)
await typingCallbacks.onReplyStart();
await statusReactions.setThinking();
},
onIdle: typingCallbacks.onIdle,
onCleanup: typingCallbacks.onCleanup,
});
let dispatchResult: Awaited<ReturnType<typeof dispatchInboundMessage>> | null = null;