This commit is contained in:
Timothy Jaeryang Baek 2026-10-21 15:01:28 +09:00
parent 495198508d
commit 517cfa4233
2 changed files with 15 additions and 0 deletions

View file

@ -472,6 +472,19 @@
};
let taskIds = null;
let liveStatus = '';
$: if (loading || !history.currentId) {
liveStatus = '';
} else if (
Object.values(history.messages).some(
(message) => message.role === 'assistant' && message.done === false
)
) {
liveStatus = $i18n.t('Generating...');
} else if (liveStatus) {
liveStatus = $i18n.t('Response complete');
}
// Chat Input
let prompt = '';
@ -5228,6 +5241,7 @@
/>
{/if}
<div id="chat-pane" class="flex flex-col flex-auto z-10 w-full @container overflow-auto">
<div class="sr-only" aria-live="polite" aria-atomic="true">{liveStatus}</div>
{#if ($settings?.landingPageMode === 'chat' && !$selectedFolder) || createMessagesList(history, history.currentId).length > 0}
<div
class=" pb-2.5 flex flex-col justify-between w-full flex-auto overflow-auto h-0 max-w-full z-10 scrollbar-hidden"

View file

@ -2199,6 +2199,7 @@
"Resize panel": "",
"Resolved": "",
"Response": "",
"Response complete": "",
"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
"Responses": "",
"Restart": "",