fix: use codex quota refresh for account checks

This commit is contained in:
fawney19
2026-05-16 20:16:23 +08:00
parent 56994d4c29
commit 3a5922d4ee
16 changed files with 150 additions and 144 deletions

View File

@@ -104,20 +104,6 @@ impl ProviderPoolService {
.quota_refresh_missing_endpoint_message()
}
pub fn supports_account_self_check(&self, provider_type: &str) -> bool {
self.adapter(provider_type).supports_account_self_check()
}
pub fn account_self_check_endpoint_for_provider(
&self,
provider_type: &str,
endpoints: &[StoredProviderCatalogEndpoint],
include_inactive: bool,
) -> Option<StoredProviderCatalogEndpoint> {
self.adapter(provider_type)
.account_self_check_endpoint(endpoints, include_inactive)
}
pub fn normalize_scheduling_presets(
&self,
provider_type: &str,