-
Notifications
You must be signed in to change notification settings - Fork 670
Open
Labels
Description
What Happened?
If the guardrail checks as defined in the config fails (using output_guardrails, with deny set to true), then the portkey.chat.completions.create request immediately errors with a status of 446. This happens even if the retry configuration object is set.
This behaviour is the same whether I use the hosted Developer plan or the open source gateway.
What Should Have Happened?
The expectation is that if the guardrail fails, the completion request will try again until the guardrail passes or the number of maximum attempts have been reached.
Relevant Code Snippet
No response
Your Twitter/LinkedIn
No response