mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-08 07:11:06 +00:00
now fixed something that I myself broke
This commit is contained in:
parent
3c187bb319
commit
5cfeeedccc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user