Skip to content

Commit

Permalink
Use the same names from modelRefs as keys in SUPPORTED_GEMINI_MODELS …
Browse files Browse the repository at this point in the history
…for consistency
  • Loading branch information
MichaelDoyle committed May 7, 2024
1 parent 5d5e651 commit d3be1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/plugins/vertexai/src/gemini.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ export const gemini15ProPreview = modelRef({
});

export const SUPPORTED_V1_MODELS = {
'gemini-pro': geminiPro,
'gemini-pro-vision': geminiProVision,
'gemini-1.0-pro': geminiPro,
'gemini-1.0-pro-vision': geminiProVision,
// 'gemini-ultra': geminiUltra,
};

Expand Down

0 comments on commit d3be1fe

Please sign in to comment.