fix(security): close bearer side-effect boundaries

This commit is contained in:
RaresKeY
2026-08-29 00:19:59 +00:00
parent 50c8675a21
commit 31c7249ef3
14 changed files with 826 additions and 80 deletions
@@ -9,7 +9,9 @@ def test_chat_context_uses_cached_models_before_live_model_probe():
assert "def _normalize_model_id_from_cache" in source
assert "cached_models" in source
assert "norm = _normalize_model_id_from_cache(sess) or normalize_model_id" in source
assert "norm = _normalize_model_id_from_cache(sess)" in source
assert "capability.allow_live_probes" in source
assert "normalize_model_id(" in source
def test_cached_model_match_keeps_basename_normalization():