Merge pull request #24 from nesquena/fix/model-discovery-logger-crash
fix: NameError on logger in custom endpoint model discovery
This commit is contained in:
commit
ae1faa7252
1 changed files with 2 additions and 2 deletions
|
|
@ -510,8 +510,8 @@ def get_available_models() -> dict:
|
|||
if model_id and model_name:
|
||||
auto_detected_models.append({'id': model_id, 'label': model_name})
|
||||
detected_providers.add(provider.lower())
|
||||
except Exception as e:
|
||||
logger.debug(f"Failed to fetch models from custom endpoint: {e}")
|
||||
except Exception:
|
||||
pass # custom endpoint unreachable or misconfigured -- fail silently
|
||||
|
||||
# 5. Build model groups
|
||||
if detected_providers:
|
||||
|
|
|
|||
Loading…
Reference in a new issue