1.16.3 (2026-04-01)
Features Added
- Added
extra_headerssupport toOpenAIModelConfigurationto allow passing custom HTTP headers.
Bugs Fixed
- Fixed attack success rate (ASR) always reporting 0% because the sync eval API's
passedfield indicates task completion, not content safety. Replacedpassed-based logic with score-based threshold comparison matching_evaluation_processor.py. - Fixed partial red team results being discarded when some objectives fail. Previously, if PyRIT raised due to incomplete objectives (e.g., evaluator model refuses to score), all completed results were lost. Now recovers partial results from PyRIT's memory database.
- Fixed evaluator token metrics (
promptTokens,completionTokens) not persisted in red teaming output items. The sync eval API returns camelCase keys but the extraction code only checked for snake_case, silently dropping all evaluator token usage data.