llm-api-proxy / src /rotator_library /usage_manager.py

Commit History

  1. refactor(quota-viewer): 🔨 enhance credential sorting and cooldown display⁠

    Mirrowel
    1af1879
  2. refactor(usage): 🔨 sync request_count across quota group models⁠

    Mirrowel
    1ac7bd0
  3. feat(usage): ✨ use request count for credential selection when failed requests consume quota⁠

    Mirrowel
    48b6b15
  4. feat(quota-viewer): ✨ add quota and usage statistics viewer system⁠

    Mirrowel
    8b4ff52
  5. feat(antigravity): ✨ add credential availability tracking for models⁠

    Mirrowel
    818ba14
  6. feat(antigravity): ✨ add quota tracking with independent background jobs⁠

    Mirrowel
    2be7535

  1. refactor(core): 🔨 centralize path management for PyInstaller compatibility⁠

    Mirrowel
    467f294

  1. feat(io): ✨ add fault-tolerant file operations with automatic recovery⁠

    Mirrowel
    7f148b3
  2. Merge origin/main into feat/runtime-resilience - Resolve conflict in usage_manager.py by integrating runtime resilience with human-readable timestamps

    Mirrowel
    01932f9
  3. feat(concurrency): ✨ add priority-based concurrency multipliers for credential tiers⁠

    Mirrowel
    aefb706

  1. feat(usage): ✨ add human-readable timestamp fields to usage data for debugging⁠

    Mirrowel
    4cdd261
  2. fix(resilience): complete circuit breaker patterns per PR review⁠

    5e42536

  1. feat: add runtime resilience for file deletion survival⁠

    31c3d36
  2. refactor(usage): 🔨 cache provider plugin instances to reduce redundant instantiation⁠

    Mirrowel
    fd01482
  3. feat(usage): ✨ implement per-model quota tracking with authoritative reset timestamps⁠

    Mirrowel
    0ca1651
  4. feat(usage): ✨ add provider-specific rolling window usage tracking⁠

    Mirrowel
    98f6823
  5. feat(rotation): ✨ add sequential rotation mode with provider-specific quota parsing⁠

    Mirrowel
    bd84d38
  6. feat(providers): ✨ implement credential tier initialization and persistence system⁠

    Mirrowel
    4dfb828

  1. Merge branch 'Antigravity' of https://github.com/Mirrowel/LLM-API-Key-Proxy into fix/quota-exceeded-global-cooldown

    5a29725
  2. fix(rotator): prevent quota errors from global cooldown⁠

    0dd6d21
  3. fix(logging): preserve full credential filenames in logs⁠

    fce1762

  1. feat(rotation): ✨ add configurable weighted random credential selection⁠

    Mirrowel
    f35e0e7
  2. feat(client): ✨ add credential prioritization system for tier-based model access⁠

    Mirrowel
    b5da45c

  1. fix(auth): 🔨 tighten oauth refresh intervals, expand refresh buffers, improve logging and add iFlow docs⁠

    Mirrowel
    abbdf2a

  1. fix(core): improve error classification and prevent false key penalization⁠

    Mirrowel
    20944a5
  2. feat(core): enable configuration of maximum concurrent requests per key⁠

    Mirrowel
    79e83ae

  1. refactor(core): 🔨 use static class attribute for provider skipping flag⁠

    Mirrowel
    3962356
  2. feat(core): enable static model configuration and LiteLLM compatibility for custom providers⁠

    Mirrowel
    39e01ca

  1. refactor(core): review fixes + improve error handling and execution logic⁠

    Mirrowel
    19af906

  1. fix(core): stabilize streaming for custom providers and refine usage recording⁠

    Mirrowel
    79c9227
  2. fix(core): stabilize streaming for custom endpoints and eliminate initialization conflicts⁠

    Mirrowel
    63418af
  3. refactor: improve model registration and usage manager robustness⁠

    Mirrowel
    0a3b5b1

  1. fix(usage): initialize daily reset for new usage keys⁠

    Mirrowel
    c036ceb
  2. refactor(rotator): randomize key selection and streamline daily stats reset⁠

    Mirrowel
    aaab6f8

  1. feat(core): implement deadline-driven request execution and resilient error handling⁠

    Mirrowel
    62ed41b
  2. Fix(logging): enhance logging configuration and control⁠

    Mirrowel
    83934f3

  1. perf(rotator): prevent indefinite waits for API key acquisition⁠

    Mirrowel
    f8d59cd

  1. fix: Type import oopsie

    Mirrowel
    065b08b
  2. feat: Add support for embeddings endpoint⁠

    Mirrowel
    64e385a
  3. feat: Handle API errors within streams and record usage⁠

    Mirrowel
    dbb8b44

  1. refactor: Remove file locking mechanism from usage data saving

    Mirrowel
    1faf5c2
  2. feat: Enhance daily reset logic to ensure timezone-aware date handling

    Mirrowel
    33e95e6

  1. fix: Handle missing cooldown values in UsageManager to prevent key lockout type errors

    Mirrowel
    5fb237f
  2. feat: Update key release logic in RotatingClient and UsageManager to support model-specific tracking

    Mirrowel
    bab8bf0

  1. feat: Enhance error classification and handling in UsageManager and error_handler for improved retry logic and cooldown management

    Mirrowel
    27b342a
  2. feat: Enhance asynchronous handling in RotatingClient and UsageManager for improved error management and usage tracking

    Mirrowel
    4bbfff4

  1. feat: Improve key acquisition logic in RotatingClient and UsageManager for better async handling and error management

    Mirrowel
    aa8035e
  2. feat: Enhance error handling in UsageManager to extract retry delay from multiple error message formats

    Mirrowel
    bf79e30
  3. feat: Refactor logging to use a dedicated logger across providers and enhance model retrieval with httpx

    Mirrowel
    d51ae99

  1. feat: Implement per-model API key cooldowns⁠

    Mirrowel
    c2eea0c