mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-10-08 15:43:22 +08:00
feat: 新增微信图片文字索引与问问微信图片检索能力
This commit is contained in:
@@ -7,6 +7,7 @@ import {
|
||||
buildSearchCacheKey
|
||||
} from '../../src/renderer/src/components/search/searchUtils'
|
||||
import { makePipelineEvidence, makeSearchResult } from './support/ai-search-fixtures'
|
||||
import { makeImageTextIndexApi } from './support/image-text-index-api'
|
||||
|
||||
const api = {
|
||||
getSettings: vi.fn(),
|
||||
@@ -17,7 +18,9 @@ const api = {
|
||||
getAiSearchProviderStatus: vi.fn(),
|
||||
authorizeAiSearchExternalProvider: vi.fn(),
|
||||
runAiSearch: vi.fn(),
|
||||
cancelAiSearch: vi.fn()
|
||||
cancelAiSearch: vi.fn(),
|
||||
// 侧栏新增的「图片文字索引」卡片会读这些桥接。
|
||||
...makeImageTextIndexApi()
|
||||
}
|
||||
|
||||
describe('AISearchWorkspace cache privacy boundary', () => {
|
||||
|
||||
Reference in New Issue
Block a user