johannoriel commited on
Commit
89c9051
1 Parent(s): f4674aa

Update plugins/ragllm.py

Browse files
Files changed (1) hide show
  1. plugins/ragllm.py +1 -1
plugins/ragllm.py CHANGED
@@ -170,7 +170,7 @@ class RagllmPlugin(Plugin):
170
  for field, params in self.get_config_fields().items():
171
  if params['type'] == 'select':
172
  if field == 'llm_model':
173
- provider = config.get('provider', 'ollama')
174
  models = self.get_available_models(provider)
175
  try:
176
  default_index = models.index(config.get(field, params['default']))
 
170
  for field, params in self.get_config_fields().items():
171
  if params['type'] == 'select':
172
  if field == 'llm_model':
173
+ provider = config.get('provider', 'huggingface')
174
  models = self.get_available_models(provider)
175
  try:
176
  default_index = models.index(config.get(field, params['default']))