https://promptfoo.dev/ logo
Error when trying to use gemini version 3.1
# ❓|questions
j
I'm trying to run gemini version 3.1 through the foo prompt, but I'm getting this error:
Copy code
Could not identify provider: gemini-3.1-pro-preview
Please check your configuration and ensure the provider is correctly specified.
For more information on supported providers, visit: https://promptfoo.dev/docs/providers/
file:///~/node_modules/promptfoo/dist/src/providers-BOvl9qv5.js:33135
    throw new Error(errorMessage);
Am I putting in the wrong name by any chance, or is there really no way to use this version yet?
u
Hey @Junior Sartori, no you're not doing anything wrong! I just added support in this PR: https://github.com/promptfoo/promptfoo/pull/7779 This will be supported in the next release.
j
Oh, thanks for the quick response and fixing that. It's going to help a lot with my tests here!