feat: 添加分页功能和缓存管理,优化问答记录展示

This commit is contained in:
2026-05-23 00:44:47 +08:00
parent c48d57df14
commit cc7125e681
16 changed files with 172 additions and 243 deletions
+2 -8
View File
@@ -47,13 +47,11 @@ export interface IHealthResponse {
message: string;
/** 服务版本 */
version: string;
/** 当前是否启用内存缓存 */
cache_enabled: boolean;
/** 当前模型名,不包含 API Key 或 baseURL */
model: string;
}
/** 服务统计响应,来自当前 Nuxt 进程的内存状态 */
/** 服务统计响应 */
export interface IStatsResponse {
/** 服务版本 */
version: string;
@@ -61,11 +59,7 @@ export interface IStatsResponse {
uptime: number;
/** 当前模型名 */
model: string;
/** 当前是否启用内存缓存 */
cache_enabled: boolean;
/** 当前有效缓存数量 */
cache_size: number;
/** 当前进程内问答记录数量 */
/** 当前用户的问答记录总数 */
qa_records_count: number;
}