fix mistral key on embedder selection

This commit is contained in:
timothycarambat 2024-11-22 16:47:27 -08:00
parent 62be0cd0c5
commit 8dcf23748c

View file

@ -8,7 +8,7 @@ export default function MistralAiOptions({ settings }) {
</label>
<input
type="password"
name="MistralAiApiKey"
name="MistralApiKey"
className="bg-theme-settings-input-bg text-white placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none block w-full p-2.5"
placeholder="Mistral AI API Key"
defaultValue={settings?.MistralApiKey ? "*".repeat(20) : ""}