From a157b43756d387d9982058a266b695ea50c442b8 Mon Sep 17 00:00:00 2001 From: sageTheDM Date: Fri, 4 Oct 2024 08:20:21 +0200 Subject: [PATCH] added API keys --- app/components/settings/ButtonSettings.tsx | 4 ++-- app/components/settings/Settings.tsx | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/app/components/settings/ButtonSettings.tsx b/app/components/settings/ButtonSettings.tsx index 3352fbf..3724a15 100644 --- a/app/components/settings/ButtonSettings.tsx +++ b/app/components/settings/ButtonSettings.tsx @@ -9,9 +9,9 @@ interface ButtonSettingProps { const ButtonSetting: React.FC = ({ label, onClick, className }) => { return (
- diff --git a/app/components/settings/Settings.tsx b/app/components/settings/Settings.tsx index 530b3da..0d77b0b 100644 --- a/app/components/settings/Settings.tsx +++ b/app/components/settings/Settings.tsx @@ -618,6 +618,11 @@ const Settings: React.FC<{ closeSettings: () => void; accountName: string }> = ( type="text" // Input type placeholder={localStorage.getItem('mistral') || "Enter the API key"} /> +
+ + + +
void; accountName: string }> = ( type="text" // Input type placeholder={localStorage.getItem('openai') || "Enter the API key"} /> +
+ + + +
void; accountName: string }> = ( type="text" // Input type placeholder={localStorage.getItem('anthropic') || "Enter the API key"} /> + void; accountName: string }> = ( type="text" // Input type placeholder={localStorage.getItem('google') || "Enter the API key"} /> +
);