From e6dbce3a78556fe43ed3686c47795255091c9068 Mon Sep 17 00:00:00 2001 From: Snider Date: Sun, 15 Mar 2026 17:56:04 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20rate=20config=20for=20quota-aware=20sch?= =?UTF-8?q?eduling=20=E2=80=94=20gemini=20burst/sustained=20modes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Virgil --- config/agents.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/config/agents.yaml b/config/agents.yaml index 0d86ecb..e68d814 100644 --- a/config/agents.yaml +++ b/config/agents.yaml @@ -15,6 +15,39 @@ concurrency: gemini: 3 codex: 1 +# Rate limiting / quota management +# Controls pacing between task dispatches to stay within daily quotas. +# The scheduler calculates delay based on: time remaining in window, +# tasks remaining, and burst vs sustained mode. +rates: + gemini: + # Daily quota resets at this time (UTC) + reset_utc: "06:00" + # Maximum requests per day (0 = unlimited / unknown) + daily_limit: 0 + # Minimum delay between task starts (seconds) + min_delay: 30 + # Delay between tasks when pacing for sustained use (seconds) + sustained_delay: 120 + # Hours before reset where burst mode kicks in + burst_window: 3 + # Delay during burst window (seconds) + burst_delay: 30 + claude: + reset_utc: "00:00" + daily_limit: 0 + min_delay: 0 + sustained_delay: 0 + burst_window: 0 + burst_delay: 0 + codex: + reset_utc: "00:00" + daily_limit: 0 + min_delay: 60 + sustained_delay: 300 + burst_window: 0 + burst_delay: 60 + # Agent identities (which agents can dispatch) agents: cladius: