extend tests for input guardrailing

This commit is contained in:
Luca Beurer-Kellner
2025-03-30 09:33:48 +02:00
committed by Hemang
parent 2a66582c7c
commit 7f820bd79f
3 changed files with 113 additions and 2 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ class InstrumentedOpenAIResponse(InstrumentedResponse):
Response(
content=json.dumps(
{
"error": "[Invariant] The response did not pass the guardrails",
"error": "[Invariant] The request did not pass the guardrails",
"details": self.guardrails_execution_result,
}
),