This commit is contained in:
Timothy J. Baek 2024-09-23 17:40:24 +02:00
parent b1521cacad
commit ba39f9bf56
2 changed files with 6 additions and 2 deletions

View File

@ -691,7 +691,7 @@
/> />
<div class="self-end mb-2 flex space-x-1 mr-1"> <div class="self-end mb-2 flex space-x-1 mr-1">
{#if !history?.currentId || history.messages[history.currentId].done == true} {#if !history?.currentId || history.messages[history.currentId]?.done == true}
<Tooltip content={$i18n.t('Record voice')}> <Tooltip content={$i18n.t('Record voice')}>
<button <button
id="voice-input-button" id="voice-input-button"
@ -743,7 +743,7 @@
</div> </div>
</div> </div>
<div class="flex items-end w-10"> <div class="flex items-end w-10">
{#if !history.currentId || history.messages[history.currentId].done == true} {#if !history.currentId || history.messages[history.currentId]?.done == true}
{#if prompt === ''} {#if prompt === ''}
<div class=" flex items-center mb-1"> <div class=" flex items-center mb-1">
<Tooltip content={$i18n.t('Call')}> <Tooltip content={$i18n.t('Call')}>

View File

@ -337,9 +337,13 @@
messageId={message.id} messageId={message.id}
idx={messageIdx} idx={messageIdx}
{user} {user}
{showPreviousMessage}
{showNextMessage}
{editMessage} {editMessage}
{deleteMessage} {deleteMessage}
{rateMessage} {rateMessage}
{regenerateResponse}
{continueResponse}
/> />
{/each} {/each}
</div> </div>