All files / packages/gemini-core/src/config models.ts

85.71% Statements 6/7
100% Branches 0/0
0% Functions 0/1
85.71% Lines 6/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23            6x 6x 6x   6x   6x               6x    
/**
 * @license
 * Copyright 2025 Google LLC
 * SPDX-License-Identifier: Apache-2.0
 */
 
export const DEFAULT_GEMINI_MODEL = 'gemini-2.5-pro';
export const DEFAULT_GEMINI_FLASH_MODEL = 'gemini-2.5-flash';
export const DEFAULT_GEMINI_FLASH_LITE_MODEL = 'gemini-2.5-flash-lite';
 
export const DEFAULT_GEMINI_MODEL_AUTO = 'auto';
 
export const DEFAULT_GEMINI_EMBEDDING_MODEL = 'gemini-embedding-001';
 
/**
 * Determines the effective model to use.
 *
 * @param requestedModel The model that was originally requested.
 * @returns The effective model name.
 */
export function getEffectiveModel(requestedModel: string): string {
  return requestedModel;
}