mirror of
https://github.com/invariantlabs-ai/invariant-gateway.git
synced 2026-08-28 11:30:25 +02:00
extend tests for input guardrailing
This commit is contained in:
@@ -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,
|
||||
}
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user