fix: Highlight nur bei API-Antworten, nicht bei Begruessung
Dieser Commit ist enthalten in:
@@ -146,6 +146,7 @@ const Chat = {
|
|||||||
this._updateResetBtn();
|
this._updateResetBtn();
|
||||||
this._hideTyping();
|
this._hideTyping();
|
||||||
this.addMessage('assistant', data.reply);
|
this.addMessage('assistant', data.reply);
|
||||||
|
this._highlightUI(data.reply);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this._hideTyping();
|
this._hideTyping();
|
||||||
const msg = err.detail || err.message || 'Etwas ist schiefgelaufen. Bitte versuche es erneut.';
|
const msg = err.detail || err.message || 'Etwas ist schiefgelaufen. Bitte versuche es erneut.';
|
||||||
@@ -178,7 +179,6 @@ const Chat = {
|
|||||||
container.scrollTop = container.scrollHeight;
|
container.scrollTop = container.scrollHeight;
|
||||||
} else {
|
} else {
|
||||||
bubble.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
bubble.scrollIntoView({ behavior: 'smooth', block: 'start' });
|
||||||
this._highlightUI(text);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren