This repository was archived by the owner on Jun 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments