Skip to content

Commit 5cb97e1

Browse files
fitzprromanlutz
andauthored
Update pyrit/executor/attack/multi_turn/red_teaming.py
Co-authored-by: Roman Lutz <romanlutz13@gmail.com>
1 parent 1bc245b commit 5cb97e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyrit/executor/attack/multi_turn/red_teaming.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ async def _generate_next_prompt_async(self, context: MultiTurnAttackContext[Any]
358358
logger.debug(f"Generating prompt for turn {context.executed_turns + 1}")
359359

360360
# Prepare prompt for the adversarial chat
361-
prompt_result = await self._build_adversarial_prompt(context)
361+
attack_message = await self._build_adversarial_prompt(context)
362362

363363
# Build the message for the adversarial chat.
364364
# For file/media responses, construct a multimodal message with both

0 commit comments

Comments
 (0)