Add request info inside chat feature

This commit is contained in:
kwaroran
2024-03-19 02:43:39 +09:00
parent 0dce52ee7b
commit bdfdf5141a
6 changed files with 35 additions and 7 deletions

View File

@@ -520,6 +520,7 @@
isLastMemory={$CurrentChat.lastMemory === (chat.chatId ?? 'none') && $CurrentShowMemoryLimit}
character={$CurrentSimpleCharacter}
largePortrait={$CurrentCharacter.largePortrait}
MessageGenerationInfo={chat.generationInfo}
/>
{:else}
<Chat
@@ -533,6 +534,7 @@
isLastMemory={$CurrentChat.lastMemory === (chat.chatId ?? 'none') && $CurrentShowMemoryLimit}
character={chat.saying}
largePortrait={findCharacterbyId(chat.saying).largePortrait}
MessageGenerationInfo={chat.generationInfo}
/>
{/if}
{:else}
@@ -544,6 +546,7 @@
img={getCharImage($CurrentUserIcon, 'css')}
isLastMemory={$CurrentChat.lastMemory === (chat.chatId ?? 'none') && $CurrentShowMemoryLimit}
largePortrait={$DataBase.personas[$DataBase.selectedPersona].largePortrait}
MessageGenerationInfo={chat.generationInfo}
/>
{/if}
{/each}