From 2149fb709af2dc1580ea3e07be5f9e6cb428b334 Mon Sep 17 00:00:00 2001
From: timothycarambat <rambat1010@gmail.com>
Date: Sat, 28 Dec 2024 17:27:32 -0800
Subject: [PATCH] Patch gemini dropdown to model id since names are wrong for
 the different versions connect #2898

---
 frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx b/frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx
index 105487bf3..dc2b24813 100644
--- a/frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx
+++ b/frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx
@@ -122,7 +122,7 @@ function GeminiModelSelection({ apiKey, settings }) {
                   value={model.id}
                   selected={settings?.GeminiLLMModelPref === model.id}
                 >
-                  {model.name}
+                  {model.id}
                 </option>
               ))}
             </optgroup>
-- 
GitLab