Merge pull request #10 from hsqbyte/feat/gemini-history-and-search-model

feat: 扫描 Gemini history/ 目录并支持按模型名搜索会话
This commit is contained in:
XinTaoFei
2026-03-13 00:05:55 +08:00
committed by GitHub
2 changed files with 18 additions and 9 deletions

View File

@@ -84,6 +84,10 @@ fn list_conversations_sync(
.as_ref()
.map(|b| b.to_lowercase().contains(&query_lower))
.unwrap_or(false)
|| s.model
.as_ref()
.map(|m| m.to_lowercase().contains(&query_lower))
.unwrap_or(false)
});
}