Spaces:
Running
Running
johannoriel
commited on
Commit
•
89c9051
1
Parent(s):
f4674aa
Update plugins/ragllm.py
Browse files- 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', '
|
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']))
|