Skip to content

Commit

Permalink
fix: null memory store
Browse files Browse the repository at this point in the history
  • Loading branch information
meta-d committed Dec 20, 2024
1 parent c90a8ff commit 6c0cc56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export class XpertChatHandler implements ICommandHandler<XpertChatCommand> {
}

async getLongTermMemory(store: BaseStore, xpertId: string, input: string) {
return await store.search([xpertId, LongTermMemoryTypeEnum.PROFILE], { query: input })
return await store?.search([xpertId, LongTermMemoryTypeEnum.PROFILE], { query: input })
}

}
Expand Down

0 comments on commit 6c0cc56

Please sign in to comment.