make web ui state directory configurable (#764)

This commit is contained in:
ekko
2026-05-15 17:30:27 +08:00
committed by GitHub
parent fbb0236af4
commit e0bfa828cb
17 changed files with 121 additions and 2228 deletions
@@ -469,11 +469,3 @@ export function getSessionDetailPaginated(
hasMore: offset + messages.length < total,
}
}
// --- Session store mode ---
import { config } from '../../config'
export function useLocalSessionStore(): boolean {
return config.sessionStore === 'local'
}