Restrict doctor benchmark to free external models
This commit is contained in:
parent
985b23031c
commit
7c09601753
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue