From 8dbbd92d3acdb12ea969bf7ccefd48d8c8f3c9fd Mon Sep 17 00:00:00 2001 From: tcpsyn Date: Sat, 21 Mar 2026 03:42:53 -0600 Subject: [PATCH] =?UTF-8?q?Fix=20returning=20caller=20eligibility=20?= =?UTF-8?q?=E2=80=94=201+=20calls,=20not=202+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 2+ requirement created a catch-22: regulars couldn't return because they needed 2 calls, but couldn't get a second call without returning. Dynamic count already prevents flooding. Co-Authored-By: Claude Opus 4.6 (1M context) --- backend/services/regulars.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/regulars.py b/backend/services/regulars.py index 9479834..62e818b 100644 --- a/backend/services/regulars.py +++ b/backend/services/regulars.py @@ -44,7 +44,7 @@ class RegularCallerService: import random if not self._regulars: return [] - available = [r for r in self._regulars if len(r.get("call_history", [])) > 1] + available = [r for r in self._regulars if len(r.get("call_history", [])) > 0] if not available: return [] return random.sample(available, min(count, len(available)))