Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input validation #483

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/0.3.0' into input-validation
irgolic committed Dec 5, 2023
commit 79bbbd4cd6a3d2270e23834bfa8dfe83bab26882
1 change: 0 additions & 1 deletion guardrails/guard.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import asyncio
import contextvars
import logging
import warnings
from typing import (
Any,
2 changes: 2 additions & 0 deletions guardrails/run.py
Original file line number Diff line number Diff line change
@@ -221,6 +221,8 @@ def step(
)
outputs = Outputs()
iteration = Iteration(inputs=inputs, outputs=outputs)
set_scope(str(id(iteration)))

try:
with start_action(
action_type="step",
You are viewing a condensed version of this merge commit. You can view the full changes here.