Make inlay option enable by default
This commit is contained in:
@@ -641,22 +641,20 @@
|
||||
<span class="ml-2">{language.screenshot}</span>
|
||||
</div>
|
||||
|
||||
{#if $DataBase.inlayImage}
|
||||
<div class="flex items-center cursor-pointer hover:text-green-500 transition-colors" on:click={async () => {
|
||||
const res = await postChatFile(messageInput)
|
||||
if(res?.type === 'image'){
|
||||
messageInput += res.data
|
||||
updateInputSizeAll()
|
||||
}
|
||||
if(res?.type === 'text'){
|
||||
messageInput += `{{file::${res.name}::${res.data}}}`
|
||||
updateInputSizeAll()
|
||||
}
|
||||
}}>
|
||||
<ImagePlusIcon />
|
||||
<span class="ml-2">{language.postFile}</span>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="flex items-center cursor-pointer hover:text-green-500 transition-colors" on:click={async () => {
|
||||
const res = await postChatFile(messageInput)
|
||||
if(res?.type === 'image'){
|
||||
messageInput += res.data
|
||||
updateInputSizeAll()
|
||||
}
|
||||
if(res?.type === 'text'){
|
||||
messageInput += `{{file::${res.name}::${res.data}}}`
|
||||
updateInputSizeAll()
|
||||
}
|
||||
}}>
|
||||
<ImagePlusIcon />
|
||||
<span class="ml-2">{language.postFile}</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class={"flex items-center cursor-pointer "+ ($DataBase.useAutoSuggestions ? 'text-green-500':'lg:hover:text-green-500')} on:click={async () => {
|
||||
|
||||
@@ -38,12 +38,10 @@
|
||||
<NumberInput marginBottom={true} size={"sm"} min={0} max={4096} bind:value={$DataBase.genTime}/>
|
||||
|
||||
<span class="text-textcolor mt-4">GPT Vision Quality <Help key="gptVisionQuality"/></span>
|
||||
{#if $DataBase.inlayImage}
|
||||
<SelectInput bind:value={$DataBase.gptVisionQuality}>
|
||||
<OptionInput value="low">Low</OptionInput>
|
||||
<OptionInput value="high">High</OptionInput>
|
||||
</SelectInput>
|
||||
{/if}
|
||||
<SelectInput bind:value={$DataBase.gptVisionQuality}>
|
||||
<OptionInput value="low">Low</OptionInput>
|
||||
<OptionInput value="high">High</OptionInput>
|
||||
</SelectInput>
|
||||
|
||||
<div class="flex items-center mt-4">
|
||||
<Check bind:check={$DataBase.useSayNothing} name={language.sayNothing}> <Help key="sayNothing"/></Check>
|
||||
@@ -74,11 +72,6 @@
|
||||
<Help key="experimental"/><Help key="oaiRandomUser"/>
|
||||
</Check>
|
||||
</div>
|
||||
<div class="flex items-center mt-4">
|
||||
<Check bind:check={$DataBase.inlayImage} name={language.postFile}>
|
||||
<Help key="experimental"/><Help key="inlayImages"/>
|
||||
</Check>
|
||||
</div>
|
||||
<div class="flex items-center mt-4">
|
||||
<Check bind:check={$DataBase.automark} name={language.nativeAutomark}>
|
||||
<Help key="experimental"/>
|
||||
|
||||
Reference in New Issue
Block a user