We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a19b15 commit a74a289Copy full SHA for a74a289
src/guardrails/_base_client.py
@@ -145,8 +145,8 @@ def _create_guardrails_response(
145
elif isinstance(llm_response, Response):
146
return GuardrailedResponse(guardrail_results=guardrail_results, **llm_response.__dict__)
147
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.
+ # TODO: This is just a hack to make the unit test pass for now. We should fix the unit tests
+ # appropriately (and here we should just throw Exception) if we actually want to proceed with this PR.
150
llm_response.guardrail_results = guardrail_results
151
return llm_response
152
0 commit comments