Browse Source

fixed default models once again

pull/286/head
xssdoctor 8 months ago
parent
commit
257ac16e94
  1. 4
      installer/client/cli/utils.py

4
installer/client/cli/utils.py

@ -49,7 +49,9 @@ class Standalone:
self.args = args self.args = args
self.model = getattr(args, 'model', None) self.model = getattr(args, 'model', None)
if not self.model: if not self.model:
self.model = 'gpt-4-turbo-preview' self.model = os.environ.get('DEFAULT_MODEL', None)
if not self.model:
self.model = 'gpt-4-turbo-preview'
self.claude = False self.claude = False
sorted_gpt_models, ollamaList, claudeList = self.fetch_available_models() sorted_gpt_models, ollamaList, claudeList = self.fetch_available_models()
self.local = self.model in ollamaList self.local = self.model in ollamaList

Loading…
Cancel
Save