From 5cfeeedccc384b1435dce86ce03c642587fc11ad Mon Sep 17 00:00:00 2001 From: xssdoctor Date: Wed, 13 Mar 2024 21:18:46 -0400 Subject: [PATCH] now fixed something that I myself broke --- installer/client/cli/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/client/cli/utils.py b/installer/client/cli/utils.py index 771ff98..b97c5cf 100644 --- a/installer/client/cli/utils.py +++ b/installer/client/cli/utils.py @@ -55,8 +55,8 @@ class Standalone: self.model = 'gpt-4-turbo-preview' self.claude = False sorted_gpt_models, ollamaList, claudeList = self.fetch_available_models() - self.local = self.model.strip() in ollamaList - self.claude = self.model.strip() in claudeList + self.local = self.model in ollamaList + self.claude = self.model in claudeList async def localChat(self, messages, host=''): from ollama import AsyncClient