Changeset 0.28.3 (#187)
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
// model selector, capability badges, user, generating state, toast,
|
||||
// settings modal dispatcher, export, message actions, scroll.
|
||||
// Extended by ui-settings.js and ui-admin.js via Object.assign.
|
||||
//
|
||||
// Exports: window.UI, window.renderPersonaForm,
|
||||
// window.toggleSummarizedHistory (onclick handler)
|
||||
// ==========================================
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
// ── Avatar Helper ────────────────────────────
|
||||
// Returns HTML for a message avatar: <img> if data URI available, emoji fallback.
|
||||
@@ -1596,3 +1603,10 @@ const UI = {
|
||||
} catch (_) { /* corrupt localStorage — ignore */ }
|
||||
}
|
||||
};
|
||||
|
||||
// ── Exports ─────────────────────────────────
|
||||
window.UI = UI;
|
||||
window.renderPersonaForm = renderPersonaForm;
|
||||
// onclick handler (called from innerHTML)
|
||||
window.toggleSummarizedHistory = toggleSummarizedHistory;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user