PyRIT
PyRIT copied to clipboard
[DRAFT] FEAT: Operator-Provided Delays between Requests (in Seconds) for PSO
Description
Added a request_delay parameter to PSO (PromptSendingOrchestrator) which enables operators to provide how many seconds they would like to wait in between prompt requests being sent to the target. This is beneficial if hitting RateLimitingExceptions (HTTP Code 429) with the target.
Tests and Documentation
Single test added to check if sleeps were called adequately from prompt_normalizer.send_prompt_batch_to_target_async. Documentation to be added once design direction reviewed.