removed ability to select model provider and see api keys in the frontend

This commit is contained in:
Genuinely 2025-03-31 11:03:09 -07:00
parent 2bfd2843e7
commit 48520cd0fa

View file

@ -473,7 +473,7 @@ const Page = () => {
</div> </div>
</SettingsSection> </SettingsSection>
<SettingsSection title="Model Settings"> {/* <SettingsSection title="Model Settings">
{config.chatModelProviders && ( {config.chatModelProviders && (
<div className="flex flex-col space-y-4"> <div className="flex flex-col space-y-4">
<div className="flex flex-col space-y-1"> <div className="flex flex-col space-y-1">
@ -692,9 +692,9 @@ const Page = () => {
)} )}
</SettingsSection> </SettingsSection>
<SettingsSection title="API Keys"> {/* <SettingsSection title="API Keys">
<div className="flex flex-col space-y-4"> <div className="flex flex-col space-y-4">
<div className="flex flex-col space-y-1"> {/* <div className="flex flex-col space-y-1">
<p className="text-black/70 dark:text-white/70 text-sm"> <p className="text-black/70 dark:text-white/70 text-sm">
OpenAI API Key OpenAI API Key
</p> </p>
@ -711,7 +711,7 @@ const Page = () => {
}} }}
onSave={(value) => saveConfig('openaiApiKey', value)} onSave={(value) => saveConfig('openaiApiKey', value)}
/> />
</div> </div> }
<div className="flex flex-col space-y-1"> <div className="flex flex-col space-y-1">
<p className="text-black/70 dark:text-white/70 text-sm"> <p className="text-black/70 dark:text-white/70 text-sm">
@ -789,7 +789,7 @@ const Page = () => {
/> />
</div> </div>
</div> </div>
</SettingsSection> </SettingsSection> */}
</div> </div>
) )
)} )}