mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
Merge pull request #21202 from jquinter/fix-unused-variable-pipeline-executor
fix: remove unused variable original_guardrails in pipeline_executor
This commit is contained in:
commit
2e8056432f
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue