diff --git a/ai-hub/app/core/services/preference.py b/ai-hub/app/core/services/preference.py index 0dc0897..40ab7d3 100644 --- a/ai-hub/app/core/services/preference.py +++ b/ai-hub/app/core/services/preference.py @@ -80,10 +80,10 @@ effective[target_id] = copy.deepcopy(p_data) - # Filter by health and mask keys for the response + # Mask keys for the response, but keep all providers visible so they can be verified res = {} for p, p_data in effective.items(): - if p_data and is_provider_healthy(section_name, p, p_data): + if p_data: masked_data = copy.deepcopy(p_data) masked_data["api_key"] = self.mask_key(p_data.get("api_key")) res[p] = masked_data