From bfeee925ad799611a0e4594f06bceb73e2758823 Mon Sep 17 00:00:00 2001 From: Nipurn123 <154745876+Nipurn123@users.noreply.github.com> Date: Wed, 24 Jul 2024 23:54:06 +0530 Subject: [PATCH] Update SettingsDialog.tsx --- ui/components/SettingsDialog.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ui/components/SettingsDialog.tsx b/ui/components/SettingsDialog.tsx index 788469b..174f996 100644 --- a/ui/components/SettingsDialog.tsx +++ b/ui/components/SettingsDialog.tsx @@ -57,6 +57,7 @@ interface SettingsType { openaiApiKey: string; groqApiKey: string; anthropicApiKey: string; + geminiApiKey: string; ollamaApiUrl: string; } @@ -456,6 +457,22 @@ const SettingsDialog = ({ } /> +
+

+ Gemini API Key +

+ + setConfig({ + ...config, + geminiApiKey: e.target.value, + }) + } + /> +
)} {isLoading && (