fix(providers): preserve health in redacted key summaries

This commit is contained in:
elky
2026-09-07 08:53:41 +08:00
parent 6948852992
commit 14f96c9fa0
4 changed files with 117 additions and 4 deletions
+2 -4
View File
@@ -533,12 +533,10 @@ impl AppState {
&self,
provider_ids: &[String],
) -> Result<Vec<provider_catalog::StoredProviderCatalogKey>, GatewayError> {
let keys = self
.data
self.data
.list_provider_catalog_key_summaries_by_provider_ids(provider_ids)
.await
.map_err(|err| GatewayError::Internal(err.to_string()))?;
self.open_provider_catalog_keys(keys).await
.map_err(|err| GatewayError::Internal(err.to_string()))
}
pub(crate) async fn list_provider_catalog_key_maintenance_summaries_by_provider_ids(