mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-09 03:18:04 +00:00
bug fix
This commit is contained in:
parent
1a63b97f3a
commit
c82ff04c53
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,8 @@ export const getSearchCache = query({
|
|||
if (!cached || cached.expiresAt < now) {
|
||||
return null
|
||||
}
|
||||
if (args.searchMode && cached.searchMode !== args.searchMode) {
|
||||
const effectiveMode = args.searchMode || "hybrid"
|
||||
if (cached.searchMode !== effectiveMode) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue