Skip to content

Older garak version gets installed which prevents it from using openai lib correctly. #1

Description

@Faishun
AttributeError: module 'openai' has no attribute 'error'
Error running Garak: Command '['/home/.../miniconda3/envs/localguard/bin/python', '-m', 'garak', '--probes', 'dan,promptinject', '--report_prefix', 'garak_out', '--generations', '5', '--model_type', 'openai', '--model_name', 'liquid/lfm2.5-1.2b']' returned non-zero exit status 1.

Proposed fix:
in requirements.txt:
garak==0.13.3

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions