[fix] rerolls

This commit is contained in:
kwaroran
2023-12-18 18:20:08 +09:00
parent e8539d6661
commit 307a0390d2
2 changed files with 2 additions and 2 deletions

View File

@@ -166,7 +166,7 @@
</SelectInput> </SelectInput>
</Arcodion> </Arcodion>
<Arcodion name="superMemory" styled> <Arcodion name={language.SuperMemory} styled>
<span class="text-textcolor mt-4">{language.SuperMemory} {language.model}</span> <span class="text-textcolor mt-4">{language.SuperMemory} {language.model}</span>
<SelectInput className="mt-2 mb-2" bind:value={$DataBase.supaMemoryType}> <SelectInput className="mt-2 mb-2" bind:value={$DataBase.supaMemoryType}>
<OptionInput value="none" >None</OptionInput> <OptionInput value="none" >None</OptionInput>

View File

@@ -1004,7 +1004,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{chatAdditonalTokens?:n
setDatabase(db) setDatabase(db)
} }
if(mrerolls.length >10){ if(mrerolls.length >1){
addRerolls(generationId, mrerolls) addRerolls(generationId, mrerolls)
} }