One chat card, two modes: assistant and mesh, with a purple unread badge on the switch

Mesh is a mode rather than an AI profile — it has no model, tokens, reasoning or sources, so making it a profile would branch every profile-aware path on the one that has no model.
This commit is contained in:
Gmer4Lfe
2026-08-17 17:03:35 -04:00
parent d88fe381db
commit eab5cc911c
10 changed files with 371 additions and 293 deletions
+1
View File
@@ -371,6 +371,7 @@ $_vv_doc_vars = array_merge(vv_conf_vars(), ['SCRIPTS_DIR' => SCRIPTS_DIR]);
// to the assistant on its own — so landing on the strict profile here would refuse
// ordinary questions to guard against a mistake the server already prevents.
vv_ai_chat_markup('vv-mon-ai', [
'mesh' => true,
'profile' => 'chat',
'compact' => true,
'title' => 'Assistant',