fix(typing): keep tool-start ttl mode-safe (#452, thanks @thesash)

This commit is contained in:
Peter Steinberger
2026-01-08 06:18:11 +00:00
parent 29c5ed54b2
commit 6a81652ebf
6 changed files with 45 additions and 4 deletions

View File

@@ -68,8 +68,9 @@ export function createTypingSignaler(params: {
const signalToolStart = async () => {
if (disabled) return;
// Keep typing indicator alive during tool execution
await typing.startTypingLoop();
if (!typing.isActive()) return;
// Keep typing indicator alive during tool execution without changing mode semantics.
typing.refreshTypingTtl();
};
return {