Give the AI subsystem one profile table and one collection, read everywhere
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user