-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output Rail Failed #687
Comments
@AadarshBhalerao : can you provide the detailed logs, or a more complete config? I could not reproduce on a first try. |
config.yml
prompts.pml
flow.co
python code
|
@drazvan if you could help me with a revert on this by tonight that would be really helpful. |
@AadarshBhalerao define flow self check output
$allowed = execute self_check_output
if $allowed
- bot refuse to asnwer
+ bot refuse to answer
stop
if not $allowed
bot answers
stop This causes the config to try to generate the refusal message, and then check that again in an infinite loop. Using the right bot message will fix it. Also, noticed that the condition should be the other way around, but I assume you switched it for testing purposes. |
Hello, I am running a function to run only the self_check_output
function
Error
The text was updated successfully, but these errors were encountered: