mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
fix(Pinecone Vector Store Node): Fix vector store nodes execution issue (#8968)
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
This commit is contained in:
@@ -22,7 +22,7 @@ export function getMetadataFiltersValues(
|
||||
}
|
||||
|
||||
export function isChatInstance(model: unknown): model is BaseChatModel {
|
||||
const namespace = (model as BaseLLM | BaseChatModel).lc_namespace;
|
||||
const namespace = (model as BaseLLM | BaseChatModel)?.lc_namespace ?? [];
|
||||
|
||||
return namespace.includes('chat_models');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user