The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(credits): document naming-convention trust in aux free-SKU detector
kshitijk4poorb6bcb3e791c6
diff --git a/agent/auxiliary_client.py b/agent/auxiliary_client.pyindex 31e99c0e5b2..b5aeae274f0 100644--- a/agent/auxiliary_client.py+++ b/agent/auxiliary_client.py@@ -2830,7 +2830,11 @@ _paid_lane_warned: set = set()def _is_free_model(model: Optional[str]) -> bool:- """True when ``model`` is a free SKU (``:free`` suffix or ``stealth/`` prefix)."""+ """True when ``model`` is a free SKU (``:free`` suffix or ``stealth/`` prefix).++ Naming-convention trust: a paid model shipped under ``stealth/`` would+ silently bypass both the free_only gate and the paid-lane warning.+ """if not model:return Falsenormalized = str(model).strip()@@ -2856,7 +2860,8 @@ def _aux_openrouter_settings() -> Tuple[bool, str]:def _warn_paid_lane_once(model: str) -> None:- """Log a WARNING the first time a non-:free OpenRouter model is engaged."""+ """Log a WARNING the first time a non-free (neither ``:free`` nor+ ``stealth/``) OpenRouter model is engaged."""if model in _paid_lane_warned:return_paid_lane_warned.add(model)