Changeset 0.28.3 (#187)
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
// Chat Switchboard – Token Estimation
|
||||
// ==========================================
|
||||
// Context tracking, token estimation, and context warning.
|
||||
//
|
||||
// Exports: window.Tokens,window.updateInputTokens,window.updateContextWarning
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
// ── Token Estimation + Context Tracking ─────
|
||||
|
||||
@@ -157,3 +162,9 @@ function dismissContextWarning() {
|
||||
const el = document.getElementById('contextWarning');
|
||||
if (el) el.style.display = 'none';
|
||||
}
|
||||
|
||||
// ── Exports ─────────────────────────────────
|
||||
window.Tokens = Tokens;
|
||||
window.updateInputTokens = updateInputTokens;
|
||||
window.updateContextWarning = updateContextWarning;
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user