feat: conversations on the left, the transcript on the right (#6)
This commit was merged in pull request #6.
This commit is contained in:
@@ -22,6 +22,11 @@ function newId(): string {
|
||||
return `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
||||
}
|
||||
|
||||
/** Builds the lightweight index record kept in the session list. */
|
||||
export function summarizeSession(session: Session): SessionSummary {
|
||||
return summarize(session);
|
||||
}
|
||||
|
||||
function sessionKey(id: string): string {
|
||||
return `${STORAGE_SESSION_PREFIX}${id}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user