From 5b27339bc2e1433b3673b5ec449e1a9a8c6fede3 Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 21 May 2023 11:45:50 +0100 Subject: [PATCH] add BaseChatModel class --- packages/components/nodes/chatmodels/ChatLocalAI/ChatLocalAI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/nodes/chatmodels/ChatLocalAI/ChatLocalAI.ts b/packages/components/nodes/chatmodels/ChatLocalAI/ChatLocalAI.ts index 41479aff781..bd25a9fa654 100644 --- a/packages/components/nodes/chatmodels/ChatLocalAI/ChatLocalAI.ts +++ b/packages/components/nodes/chatmodels/ChatLocalAI/ChatLocalAI.ts @@ -20,7 +20,7 @@ class ChatLocalAI_ChatModels implements INode { this.icon = 'localai.png' this.category = 'Chat Models' this.description = 'Use local LLMs like llama.cpp, gpt4all using LocalAI' - this.baseClasses = [this.type, ...getBaseClasses(OpenAIChat)] + this.baseClasses = [this.type, 'BaseChatModel', ...getBaseClasses(OpenAIChat)] this.inputs = [ { label: 'Base Path',