diff --git a/api/core/entities/provider_configuration.py b/api/core/entities/provider_configuration.py index 0261a6309e8840..06362345939ac6 100644 --- a/api/core/entities/provider_configuration.py +++ b/api/core/entities/provider_configuration.py @@ -978,7 +978,7 @@ def _get_custom_provider_models( label=custom_model_schema.label, model_type=custom_model_schema.model_type, features=custom_model_schema.features, - fetch_from=custom_model_schema.fetch_from, + fetch_from=FetchFrom.CUSTOMIZABLE_MODEL, model_properties=custom_model_schema.model_properties, deprecated=custom_model_schema.deprecated, provider=SimpleModelProviderEntity(self.provider),