Skip to content

Feature: Support polling/round-robin switching between multiple accounts #144

Description

@AI-J-IN

Problem

Problem

Currently, Raven does not support polling or round-robin switching between multiple API accounts. When users have multiple API Keys (possibly from different providers or multiple quota slots from the same provider), each call can only use a fixed Key. There is no way to automatically distribute requests across multiple Keys to spread request pressure or avoid rate limits of a single Key.

Current Behavior

  • Only a single account/Key is supported for API calls
  • No automatic request distribution across multiple accounts
  • No failover mechanism when one account fails

Impact

  • A single Key is prone to rate limiting
  • Unable to fully utilize multiple paid API quotas
  • Lack of high availability in multi-Key scenarios

Proposal

Proposal

  • Support configuring multiple accounts (each with URL + Key)
  • Support round-robin request distribution between accounts
  • When an account returns an error, automatically failover to the next available account
  • Display current account and quota status in the TUI

Alternatives considered

No response

Area

Proactivity / scheduling

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions