Fix missing aws key slot

This commit is contained in:
bangonicdd
2024-11-27 16:59:16 +09:00
parent 94c417c33b
commit 932262295d

View File

@@ -114,7 +114,8 @@
<span class="text-textcolor">Mancer {language.apiKey}</span>
<TextInput hideText={DBState.db.hideApiKey} marginBottom={true} size={"sm"} placeholder="..." bind:value={DBState.db.mancerHeader}/>
{/if}
{#if modelInfo.provider === LLMProvider.Anthropic || subModelInfo.provider === LLMProvider.Anthropic}
{#if modelInfo.provider === LLMProvider.Anthropic || subModelInfo.provider === LLMProvider.Anthropic
|| modelInfo.provider === LLMProvider.AWS || subModelInfo.provider === LLMProvider.AWS }
<span class="text-textcolor">Claude {language.apiKey}</span>
<TextInput hideText={DBState.db.hideApiKey} marginBottom={true} size={"sm"} placeholder="..." bind:value={DBState.db.claudeAPIKey}/>
{/if}