Skip to content

I am getting the following error #49

@vpaturi

Description

@vpaturi

After successfully installing prompt_security_fuzzer, when I type -h or any other option, its giving this error:

Traceback (most recent call last):
File "/home/cloudshell-user/.local/bin/prompt-security-fuzzer", line 5, in
from ps_fuzz.cli import main
File "/home/cloudshell-user/.local/lib/python3.9/site-packages/ps_fuzz/cli.py", line 9, in
from .chat_clients import *
File "/home/cloudshell-user/.local/lib/python3.9/site-packages/ps_fuzz/chat_clients.py", line 1, in
from .langchain_integration import get_langchain_chat_models_info
File "/home/cloudshell-user/.local/lib/python3.9/site-packages/ps_fuzz/langchain_integration.py", line 6, in
def _get_class_member_doc(cls, param_name: str) -> str | None:
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions