mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 22:39:36 +08:00
fix: use rewrite to search knowledge (#7289)
This commit is contained in:
parent
804f9235cd
commit
006f134647
@ -101,7 +101,7 @@ export const searchKnowledgeBase = async (
|
|||||||
|
|
||||||
// 执行搜索
|
// 执行搜索
|
||||||
const searchResults = await window.api.knowledgeBase.search({
|
const searchResults = await window.api.knowledgeBase.search({
|
||||||
search: query,
|
search: rewrite || query,
|
||||||
base: baseParams
|
base: baseParams
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user