You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I need to run a prompt I have in a jinja template and check it for filtered content by catching the exception in case it fails but when I run kernel.invoke I only receive KernelInvokeException instead of a ContentFilterAIException.
Hi @afrancoc2000, we haven't heard from you for a few weeks. Have you had a chance to review my previous message? Please feel free to re-open this issue if you need support. Thank you.
Describe the bug
I need to run a prompt I have in a jinja template and check it for filtered content by catching the exception in case it fails but when I run kernel.invoke I only receive KernelInvokeException instead of a ContentFilterAIException.
To Reproduce
Steps to reproduce the behavior:
This is my code:
I get KernelInvokeException instead of ContentFilterAIException.
Expected behavior
I need the ContentFilterAIException to be able to handle the error properly.
Platform
Additional context
I tried using this code #4802 but is not valid any more.
The text was updated successfully, but these errors were encountered: