One profile picker for both surfaces, and open where you left off

This commit is contained in:
Gmer4Lfe
2026-08-09 00:56:04 -04:00
parent d9225d06d9
commit 6cdb0d1eab
4 changed files with 185 additions and 32 deletions
+4
View File
@@ -1251,6 +1251,10 @@ function vv_ai_chats_list(): array {
$out[] = [
'id' => $d['id'],
'ts' => (int)($d['ts'] ?? 0),
// Last activity, as distinct from ts. The list is ordered by creation so the prune
// order and the visible order agree, but "which conversation was I last in" is a
// different question and needs the other timestamp to answer it.
'updated' => (int)($d['updated'] ?? $d['ts'] ?? 0),
'profile' => (string)($d['profile'] ?? 'chat'),
'scope' => (string)($d['scope'] ?? ''),
'title' => (string)($d['title'] ?? 'Untitled conversation'),