fix: remove unused variable original_guardrails in pipeline_executor

Remove unused local variable 'original_guardrails' that was assigned
but never used in the _execute_guardrail_step method.

Fixes Ruff F841 linting error.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Julio Quinteros Pro
2026-02-14 14:32:32 -03:00
parent 951c230ff0
commit 6caedfd2a5
@@ -154,7 +154,6 @@ class PipelineExecutor:
# Inject guardrail name into metadata so should_run_guardrail() allows it
if "metadata" not in data:
data["metadata"] = {}
original_guardrails = data["metadata"].get("guardrails")
data["metadata"]["guardrails"] = [step.guardrail]
# Use unified_guardrail path if callback implements apply_guardrail