https://promptfoo.dev/ logo
is red teaming not possible without openai key?
# ❓|questions
a
can I not use a custom provider?
i
It can be done with a custom provider. Which are you trying to use?
a
It is giving me an error when I try to generate test cases. Using strategies: jailbreak, prompt-injection Generating... ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ /promptfoo/dist/src/providers/openai.js:324 throw new Error('OpenAI API key is not set. Set the OPENAI_API_KEY environment variable or add
apiKey
to the provider config.');
i
which provider would you prefer to use? I can let you know how to set it up
a
I am using a custom provider , model - gemini 1.0 pro / gpt 4o can use either