PyRIT v1.0.1 fixes structured refusal handling.
v1.0.1
AI summary
Microsoft PyRIT releases v1.0.1 patch, fixing the issue where structured refusals returned by OpenAI Responses and Chat Completions were misclassified as parsing/runtime failures. Previously, a target model's refusal would cause the attack target to fail and throw a misleading ValueError; now refusals are properly logged and scored, while genuine partial execution throws ScenarioPartialFailureException. Users targeting recent OpenAI and Azure OpenAI models with OpenAIResponseTarget or OpenAIChatTarget should upgrade; this version also adjusts the ordering of reasoning model response segments, placing reasoning after text.