The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(gateway): say so when an explicit text-batch delay is clamped to the ceiling
kshitijk4poor297b3cefa383
diff --git a/gateway/platforms/base.py b/gateway/platforms/base.pyindex dcf757fe2cc..51e3c0c1951 100644--- a/gateway/platforms/base.py+++ b/gateway/platforms/base.py@@ -2402,8 +2402,9 @@ class BasePlatformAdapter(ABC):if not math.isfinite(parsed) or parsed < 0:parsed = float(default)parsed = max(parsed, min_value)- if max_value is not None:- parsed = min(parsed, max_value)+ if max_value is not None and parsed > max_value:+ logger.warning("%s=%s exceeds the %s ceiling; clamped", key, parsed, max_value)+ parsed = max_valuereturn parseddef _configure_text_batch_delays(self) -> None: