Skip to content

Allow default model to be set via env#2602

Open
A-Vamshi wants to merge 2 commits intoconfident-ai:mainfrom
A-Vamshi:changeDefaultModel
Open

Allow default model to be set via env#2602
A-Vamshi wants to merge 2 commits intoconfident-ai:mainfrom
A-Vamshi:changeDefaultModel

Conversation

@A-Vamshi
Copy link
Copy Markdown
Collaborator

@A-Vamshi A-Vamshi commented Apr 5, 2026

No description provided.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 5, 2026

@A-Vamshi is attempting to deploy a commit to the Confident AI Team on Vercel.

A member of the Team first needs to authorize it.

JKDasondee added a commit to JKDasondee/deepeval that referenced this pull request Apr 10, 2026
Adds DEEPEVAL_DEFAULT_MODEL setting that acts as a provider-agnostic
model fallback. GPTModel, AnthropicModel, GeminiModel, and OpenRouterModel
now read it when no model arg or provider-specific model env var is set,
before falling back to their hardcoded defaults.

Closes confident-ai#2602
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.

1 participant