Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/happy-app/sources/components/modelModeOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ type MetadataOption = {
};

const GEMINI_MODEL_FALLBACKS: ModelMode[] = [
{ key: 'gemini-2.5-pro', name: 'Gemini 2.5 Pro', description: 'Most capable' },
{ key: 'gemini-2.5-flash', name: 'Gemini 2.5 Flash', description: 'Fast & efficient' },
{ key: 'gemini-3-pro-preview', name: 'Gemini 3 Pro Preview', description: 'Most capable' },
{ key: 'gemini-3-flash-preview', name: 'Gemini 3 Flash Preview', description: 'Fast & capable' },
{ key: 'gemini-2.5-pro', name: 'Gemini 2.5 Pro', description: 'Previous gen pro' },
{ key: 'gemini-2.5-flash', name: 'Gemini 2.5 Flash', description: 'Previous gen flash' },
{ key: 'gemini-2.5-flash-lite', name: 'Gemini 2.5 Flash Lite', description: 'Fastest' },
];

Expand Down Expand Up @@ -167,7 +169,7 @@ export function getDefaultModelKey(flavor: AgentFlavor): string {
return 'gpt-5-codex-high';
}
if (flavor === 'gemini') {
return 'gemini-2.5-pro';
return 'gemini-3-flash-preview';
}
return 'default';
}
Expand Down