Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mistral provider support for URL and API key envar #570

Merged
merged 6 commits into from
Mar 21, 2024

Conversation

jvert
Copy link
Contributor

@jvert jvert commented Mar 20, 2024

Fixes #567

This adds support for overriding the default URL and api key environment variable in the Mistral provider. I just duplicated the existing OpenAPI behavior.

@typpo
Copy link
Collaborator

typpo commented Mar 21, 2024

Great change! Thanks @jvert

@typpo typpo merged commit c729763 into promptfoo:main Mar 21, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mistral provider is hard-coded to https://api.mistral.ai/v1/chat/completions
2 participants