Skip to content

feat(auth): active credential health prober - #220

Open
warelik wants to merge 1 commit into
kaitranntt:mainfrom
warelik:ao/airouters-13-prober
Open

feat(auth): active credential health prober#220
warelik wants to merge 1 commit into
kaitranntt:mainfrom
warelik:ao/airouters-13-prober

Conversation

@warelik

@warelik warelik commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add credential-prober config block (opt-in, default OFF).
  • Implement conductor_prober.go periodic loop in sdk/cliproxy/auth.
  • Probe uses the existing ProviderExecutor.HttpRequest with a lightweight GET /v1/models (configurable path) to detect dead-but-silent credentials.
  • Failures are fed directly into Manager.MarkResult so they reuse the existing cooldown/suspension machinery (no second source of truth).
  • Rate-limited by rate-limit-per-minute, concurrency-limited by max-concurrency, and timeout-gated by timeout.
  • Minimal touches to conductor.go (prober lifecycle fields) and conductor_cooldown.go (start/stop on config update); no changes to cooldown knobs.
  • Tests cover disabled-by-default, disabled-auth skipping, failure cooldown, success, and empty/204 responses.

Relates to #211, #218.

warelik added a commit to warelik/CLIProxyAPIPlus that referenced this pull request Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant