File tree 2 files changed +3
-3
lines changed
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(
456
456
# TODO: Might want to check these with James!
457
457
notification_text = (
458
458
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 "
460
460
f"by redacting them.\n \n "
461
461
)
462
462
Original file line number Diff line number Diff line change @@ -556,15 +556,15 @@ async def process_chunk(
556
556
notification_chunk = self ._create_chunk (
557
557
chunk ,
558
558
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 "
560
560
f"by redacting them.</thinking>\n \n " ,
561
561
)
562
562
notification_chunk .choices [0 ].delta .role = "assistant"
563
563
else :
564
564
notification_chunk = self ._create_chunk (
565
565
chunk ,
566
566
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 "
568
568
f"by redacting them.\n \n " ,
569
569
)
570
570
You can’t perform that action at this time.
0 commit comments