Skip to content

Commit a74a289

Browse files
draft - todo comment
1 parent 6a19b15 commit a74a289

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guardrails/_base_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ def _create_guardrails_response(
145145
elif isinstance(llm_response, Response):
146146
return GuardrailedResponse(guardrail_results=guardrail_results, **llm_response.__dict__)
147147
else:
148-
# TODO: This is just a hack to make the unit test pass for now. We should fix this
149-
# if we actually want to proceed with this PR.
148+
# TODO: This is just a hack to make the unit test pass for now. We should fix the unit tests
149+
# appropriately (and here we should just throw Exception) if we actually want to proceed with this PR.
150150
llm_response.guardrail_results = guardrail_results
151151
return llm_response
152152

0 commit comments

Comments
 (0)