feat(chat): add local-first conversation workspace

This commit is contained in:
2026-08-13 15:55:15 +08:00
parent d1d50d722c
commit 8991f78f9f
43 changed files with 5450 additions and 592 deletions
+5
View File
@@ -0,0 +1,5 @@
export function compactModelName(value: unknown) {
const name = String(value ?? "").trim();
const tagIndex = name.indexOf(":");
return tagIndex > 0 ? name.slice(0, tagIndex) : name;
}