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.
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: