diff --git a/bot_bottle/egress_addon.py b/bot_bottle/egress_addon.py index 8f561aa..2bfaa1a 100644 --- a/bot_bottle/egress_addon.py +++ b/bot_bottle/egress_addon.py @@ -251,7 +251,7 @@ class EgressAddon: """ if flow.websocket is None: # type: ignore[union-attr] return - route = match_route(self.routes, flow.request.pretty_host) + route = match_route(self.config.routes, flow.request.pretty_host) if route is None: return message = flow.websocket.messages[-1] # type: ignore[union-attr] diff --git a/docs/prds/0055-extended-outbound-scan.md b/docs/prds/prd-new-extended-outbound-scan.md similarity index 99% rename from docs/prds/0055-extended-outbound-scan.md rename to docs/prds/prd-new-extended-outbound-scan.md index e802897..1646130 100644 --- a/docs/prds/0055-extended-outbound-scan.md +++ b/docs/prds/prd-new-extended-outbound-scan.md @@ -1,4 +1,4 @@ -# PRD 0055: Extended outbound DLP scan surfaces +# PRD prd-new: Extended outbound DLP scan surfaces - **Status:** Active - **Author:** claude diff --git a/tests/unit/test_egress_addon_core.py b/tests/unit/test_egress_addon_core.py index fa4f7f4..2c11486 100644 --- a/tests/unit/test_egress_addon_core.py +++ b/tests/unit/test_egress_addon_core.py @@ -606,7 +606,7 @@ class TestDecisionDefaults(unittest.TestCase): # --- scan_outbound ------------------------------------------------------- -class TestScanOutbound(unittest.TestCase): +class TestScanOutboundBody(unittest.TestCase): def test_body_token_patterns_still_block(self): result = scan_outbound( Route(host="chatgpt.com"),