Skip to content

Commit 133546b

Browse files
authored
fix: do not interpret our system message to detect tools (#935)
1 parent c6953f8 commit 133546b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/codegate/pipeline/secrets/secrets.py

+2
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,8 @@ async def process_chunk(
456456
for tool in ["Cline", "Kodu"]
457457
for message in input_context.alerts_raised or []
458458
if tool in str(message.trigger_string or "")
459+
and "If you are Kodu"
460+
not in str(message.trigger_string or "") # this comes from our prompts
459461
),
460462
"",
461463
)

0 commit comments

Comments
 (0)