docs: update Red Teaming documentation to match current API#276
Merged
Aryansharma28 merged 1 commit intomainfrom Mar 10, 2026
Merged
docs: update Red Teaming documentation to match current API#276Aryansharma28 merged 1 commit intomainfrom
Aryansharma28 merged 1 commit intomainfrom
Conversation
Key changes from the original docs (#265, reverted in #272): - Fix Python param name: fast_refusal_detection (not detect_refusals) - Remove max_backtracks/backtrack_threshold from config (not configurable, backtracking triggers on hard refusals with a fixed limit of 10) - Early exit and backtracking now available in both Python and TypeScript - Update TypeScript config examples to include successScore/successConfirmTurns - Add backtrack_history param to custom strategy build_system_prompt example - Remove "Python only" callouts for features now in both languages Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Automated low-risk assessment This PR was evaluated against the repository's Low-Risk Pull Requests procedure.
This classification allows merging without manual review once all required CI checks are passing and branch protection rules are satisfied. |
This was referenced Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fast_refusal_detection(was incorrectlydetect_refusals)max_backtracks/backtrack_thresholdconfig params — backtracking triggers on hard refusals with a fixed limit of 10Supersedes #265 (merged then reverted in #272).
Test plan
cd docs && pnpm devred_team_agent.pysignaturesred-team-agent.tssignatures🤖 Generated with Claude Code