Fix: stopTypingIndicator() bei Stream-Ende in Polling-Recovery aufrufen
Typing-Indicator-Interval lief nach Stream-Ende weiter und überschrieb 'Bereit' mit 'Agent denkt nach...' nach wenigen Sekunden.
This commit is contained in:
1 parent
730c14aa23
commit
2cf9e1e849
1 file changed
+3
@@ -291,6 +291,9 @@ function startStreamingPoll(sessionId, sendBtn, chainId) {
|
|||||||
const stopEl = document.getElementById('stop');
|
const stopEl = document.getElementById('stop');
|
||||||
if (stopEl) stopEl.hidden = true;
|
if (stopEl) stopEl.hidden = true;
|
||||||
|
|
||||||
|
// Typing-Indicator stoppen
|
||||||
|
stopTypingIndicator();
|
||||||
|
|
||||||
// Finale Nachrichten nochmal laden
|
// Finale Nachrichten nochmal laden
|
||||||
await pollHistory(true);
|
await pollHistory(true);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user