Hey there,
Trying to set up promptfoo with our existing vitest setup within a next.js project.
We are currently using gemini as our main provider. I wanted to set up a GradingConfig, i see there's a space for provider, how can I give it the API key?
glutensnake
08/20/2025, 7:58 PM
so something like
defaultConfig = {
provider: "2.5",
apiKey: env api key
}
glutensnake
08/21/2025, 2:16 AM
I would really appreciate some help on this, theres little documentation on the vitest side
i
ian
08/23/2025, 1:40 PM
so just to make sure I understand, you want gemini to do all the judging/grading?