feat(chat): add local-first conversation workspace
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user