This commit is contained in:
Martin Chang 2025-02-07 15:38:49 +08:00 committed by GitHub
commit 1ac8f61c6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 101 additions and 0 deletions

View file

@ -64,6 +64,7 @@ interface SettingsType {
groqApiKey: string;
anthropicApiKey: string;
geminiApiKey: string;
deepinfraApiKey: string;
ollamaApiUrl: string;
}
@ -493,6 +494,22 @@ const SettingsDialog = ({
}
/>
</div>
<div className="flex flex-col space-y-1">
<p className="text-black/70 dark:text-white/70 text-sm">
DeepInfra API Key
</p>
<Input
type="text"
placeholder="DeepInfta API key"
defaultValue={config.geminiApiKey}
onChange={(e) =>
setConfig({
...config,
deepinfraApiKey: e.target.value,
})
}
/>
</div>
</div>
)}
{isLoading && (