Give the AI subsystem one profile table and one collection, read everywhere

This commit is contained in:
Gmer4Lfe
2026-08-08 22:35:37 -04:00
parent 0f4d381ac0
commit 0f92609425
10 changed files with 355 additions and 103 deletions
+3 -3
View File
@@ -317,7 +317,7 @@ if (vv_ai_ui_on()) vv_ai_chat_assets();
Conversations
</span>
</h3>
<?php vv_ai_chat_list_markup('vv-mon-ai'); ?>
<?php vv_ai_chat_list_markup('vv-mon-ai', true); ?>
</div>
<!-- Named for what it is, not "dock" — the Scheduler tab's vv-ai-dock is a different
@@ -1909,12 +1909,12 @@ function vvRenderAi(ai) {
h += line('Ollama', 'unreachable', 'color:#e57;');
} else if (!rt.loaded) {
h += line('Model', 'not loaded', 'color:#ffb74d;');
h += `<div style="font-size:10px;color:#444;margin:-2px 0 7px;">loads on first question</div>`;
h += `<div style="font-size:10px;color:#666;margin:-2px 0 7px;">loads on first question</div>`;
} else {
const p = rt.offload_pct;
const full = p === 100;
h += line('GPU offload', p === null ? '—' : p + '%', full ? 'color:#6fcf97;' : 'color:#ffb74d;');
h += `<div style="font-size:10px;color:#444;margin:-2px 0 7px;">`
h += `<div style="font-size:10px;color:#666;margin:-2px 0 7px;">`
+ (full ? 'all on GPU' : 'layers on CPU — slow') + `</div>`;
if (rt.context) h += line('Context', rt.context.toLocaleString());
}