Skip to content

Commit 8a49b5e

Browse files
removed print and comments
1 parent dfe0910 commit 8a49b5e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

guardrails/guard.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,11 +1229,9 @@ def _stream_server_call(
12291229
payload=ValidatePayload.from_dict(payload), # type: ignore
12301230
openai_api_key=get_call_kwarg("api_key"),
12311231
)
1232-
print("Server response:", response)
12331232
for fragment in response:
12341233
validation_output = fragment
12351234
if validation_output is None:
1236-
# TODO Validation Summary
12371235
yield ValidationOutcome[OT](
12381236
call_id="0", # type: ignore
12391237
raw_llm_output=None,
@@ -1247,7 +1245,6 @@ def _stream_server_call(
12471245
if validation_output.validated_output
12481246
else None
12491247
)
1250-
# TODO Validation Summary
12511248
yield ValidationOutcome[OT](
12521249
call_id=validation_output.call_id, # type: ignore
12531250
raw_llm_output=validation_output.raw_llm_output,

0 commit comments

Comments
 (0)