From 7c0960175334e499f5c6e04f22d2fea38cb5896d Mon Sep 17 00:00:00 2001 From: "juvenal.diaz" Date: Fri, 13 Nov 2026 09:37:46 -0600 Subject: [PATCH] Restrict doctor benchmark to free external models --- scripts/doctor-model-lab.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/doctor-model-lab.py b/scripts/doctor-model-lab.py index 07302fa..739bf36 100644 --- a/scripts/doctor-model-lab.py +++ b/scripts/doctor-model-lab.py @@ -566,6 +566,8 @@ def suite_run(repeats): skipped[key] = str(exc) try: external_base, external_model, external_key = external_config() + if not external_model.startswith("openrouter/") or not external_model.endswith(":free"): + raise RuntimeError("The external model is not an explicit OpenRouter :free ID") except (OSError, RuntimeError, ValueError): external_base, external_model, external_key = "", "unavailable", "" skipped["omniroute"] = "OmniRoute local endpoint or generated model route is unavailable"