Skip to content

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

.

A-Vamshicf1402b55fa5
diff --git a/deepteam/attacks/multi_turn/progression.py b/deepteam/attacks/multi_turn/progression.py
index 6114e220..f54e28b2 100644
--- a/deepteam/attacks/multi_turn/progression.py
+++ b/deepteam/attacks/multi_turn/progression.py
@@ -75,13 +75,11 @@ def default_stop_detail(
"so this conversation's length does not reflect the target's "
"resistance."
)
- if reason is StopReason.RUNTIME_EXCEEDED:
- return (
- "The attack hit its runtime backstop before exhausting its turn "
- "budget, so this conversation's length does not reflect the "
- "target's resistance."
- )
- return "The progression ended."
+ return (
+ "The attack hit its runtime backstop before exhausting its turn "
+ "budget, so this conversation's length does not reflect the "
+ "target's resistance."
+ )
def mark_stop(