Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

.

A-Vamshi13371628b137
diff --git a/deepteam/attacks/single_turn/context_flooding/context_flooding.py b/deepteam/attacks/single_turn/context_flooding/context_flooding.py
index 7c170dcf..24a4e068 100644
--- a/deepteam/attacks/single_turn/context_flooding/context_flooding.py
+++ b/deepteam/attacks/single_turn/context_flooding/context_flooding.py
@@ -47,7 +47,7 @@ class ContextFlooding(BaseSingleTurnAttack):
while len(expanded) < self.target_chars:
expanded += "\n\n" + base
- trimmed = expanded[:self.target_chars]
+ trimmed = expanded[: self.target_chars]
if " " in trimmed:
trimmed = trimmed.rsplit(" ", 1)[0]