diff --git a/host-setup/agent-safety/claude/model-tier-guard.py b/host-setup/agent-safety/claude/model-tier-guard.py index 2e3a53571..15915d7c8 100755 --- a/host-setup/agent-safety/claude/model-tier-guard.py +++ b/host-setup/agent-safety/claude/model-tier-guard.py @@ -85,7 +85,7 @@ def names_model(text, model): """Whether a script text carries a `model: ''` option naming `model`.""" # A JavaScript key may be bare or quoted, so `{"model": "x"}` is the same option as `{model: "x"}`. # The value may be a full model id rather than the alias, so the alias is matched as a word inside it. - value = r"[^'\"`]*(?