Changeset 0.18.1 (#80)
This commit is contained in:
@@ -578,6 +578,11 @@ const UI = {
|
||||
const full = (reasoning ? '<think>' + reasoning + '</think>' : '') + content;
|
||||
document.getElementById('streamContent').innerHTML = formatMessage(full);
|
||||
this._scrollToBottom();
|
||||
|
||||
// Live-update preview panel if open (debounced)
|
||||
if (typeof _livePreviewUpdate === 'function') {
|
||||
_livePreviewUpdate(content);
|
||||
}
|
||||
}
|
||||
currentEvent = '';
|
||||
} catch (e) { /* partial JSON */ }
|
||||
|
||||
Reference in New Issue
Block a user