Skip to content

Commit d435949

Browse files
authored
Update secrets and PII links (#1285)
1 parent 152d1c9 commit d435949

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/codegate/pipeline/pii/pii.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ async def process_chunk(
456456
# TODO: Might want to check these with James!
457457
notification_text = (
458458
f"🛡️ [CodeGate protected {redacted_count} instances of PII, including {pii_summary}]"
459-
f"(http://localhost:9090/?search=codegate-pii) from being leaked "
459+
f"(http://localhost:9090/?view=codegate-pii) from being leaked "
460460
f"by redacting them.\n\n"
461461
)
462462

src/codegate/pipeline/secrets/secrets.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -556,15 +556,15 @@ async def process_chunk(
556556
notification_chunk = self._create_chunk(
557557
chunk,
558558
f"<thinking>\n🛡️ [CodeGate prevented {redacted_count} {secret_text}]"
559-
f"(http://localhost:9090/?search=codegate-secrets) from being leaked "
559+
f"(http://localhost:9090/?view=codegate-secrets) from being leaked "
560560
f"by redacting them.</thinking>\n\n",
561561
)
562562
notification_chunk.choices[0].delta.role = "assistant"
563563
else:
564564
notification_chunk = self._create_chunk(
565565
chunk,
566566
f"\n🛡️ [CodeGate prevented {redacted_count} {secret_text}]"
567-
f"(http://localhost:9090/?search=codegate-secrets) from being leaked "
567+
f"(http://localhost:9090/?view=codegate-secrets) from being leaked "
568568
f"by redacting them.\n\n",
569569
)
570570

0 commit comments

Comments
 (0)