From cdc7a28f354152c25e3a7ebe11c8dfaf5d683242 Mon Sep 17 00:00:00 2001 From: Dan Barr Date: Mon, 17 Mar 2025 15:55:24 -0400 Subject: [PATCH] Update secrets and PII links --- src/codegate/pipeline/pii/pii.py | 2 +- src/codegate/pipeline/secrets/secrets.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/codegate/pipeline/pii/pii.py b/src/codegate/pipeline/pii/pii.py index 4dd7d5db..a7f950c7 100644 --- a/src/codegate/pipeline/pii/pii.py +++ b/src/codegate/pipeline/pii/pii.py @@ -456,7 +456,7 @@ async def process_chunk( # TODO: Might want to check these with James! notification_text = ( f"🛡️ [CodeGate protected {redacted_count} instances of PII, including {pii_summary}]" - f"(http://localhost:9090/?search=codegate-pii) from being leaked " + f"(http://localhost:9090/?view=codegate-pii) from being leaked " f"by redacting them.\n\n" ) diff --git a/src/codegate/pipeline/secrets/secrets.py b/src/codegate/pipeline/secrets/secrets.py index c299469e..21e6cc82 100644 --- a/src/codegate/pipeline/secrets/secrets.py +++ b/src/codegate/pipeline/secrets/secrets.py @@ -556,7 +556,7 @@ async def process_chunk( notification_chunk = self._create_chunk( chunk, f"\n🛡️ [CodeGate prevented {redacted_count} {secret_text}]" - f"(http://localhost:9090/?search=codegate-secrets) from being leaked " + f"(http://localhost:9090/?view=codegate-secrets) from being leaked " f"by redacting them.\n\n", ) notification_chunk.choices[0].delta.role = "assistant" @@ -564,7 +564,7 @@ async def process_chunk( notification_chunk = self._create_chunk( chunk, f"\n🛡️ [CodeGate prevented {redacted_count} {secret_text}]" - f"(http://localhost:9090/?search=codegate-secrets) from being leaked " + f"(http://localhost:9090/?view=codegate-secrets) from being leaked " f"by redacting them.\n\n", )