From 2224e20bde29680b8be26b2f657fd57f666b7c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Wed, 19 Aug 2026 14:43:01 +0400 Subject: [PATCH] =?UTF-8?q?v0.0.44:=20=D0=B2=D0=BE=20=D0=B2=D1=80=D0=B5?= =?UTF-8?q?=D0=BC=D1=8F=20LLM=20live-=D0=B1=D0=BB=D0=BE=D0=BA=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2=D0=B0=D0=B5=D1=82=20'?= =?UTF-8?q?=D0=98=D0=98=20=D0=B0=D0=BD=D0=B0=D0=BB=D0=B8=D0=B7=D0=B8=D1=80?= =?UTF-8?q?=D1=83=D0=B5=D1=82=20=D0=B2=D1=81=D0=B5=20=D1=84=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D1=8B',=20=D0=B0=20=D0=BD=D0=B5=20=D0=B8=D0=BC=D1=8F=20?= =?UTF-8?q?=D0=BF=D0=BE=D1=81=D0=BB=D0=B5=D0=B4=D0=BD=D0=B5=D0=B3=D0=BE=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/app.py | 2 +- site/templates/index.html | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/site/app.py b/site/app.py index c30ce86..dd0cf9e 100644 --- a/site/app.py +++ b/site/app.py @@ -20,7 +20,7 @@ if _sys_path_root not in sys.path: sys.path.insert(0, _sys_path_root) # Версия приложения (меняется при изменениях) -VERSION = "0.0.43" +VERSION = "0.0.44" def create_app(): diff --git a/site/templates/index.html b/site/templates/index.html index d9e8077..1aa780e 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -448,6 +448,7 @@ async function uploadFiles() { const liveFileEl = document.getElementById('liveFile'); const liveLlm = document.getElementById('liveLlm'); const liveLlmTime = document.getElementById('liveLlmTime'); + let currentLiveFile = ''; // последнее имя файла из start liveLlm.classList.remove('show'); liveTimerEl.textContent = '0.0 с'; liveFileEl.textContent = 'Подготовка…'; @@ -475,15 +476,19 @@ async function uploadFiles() { // Показываем текущий файл и его размер в live-блоке const f = sf[d.idx]; const sz = f ? fs(f.size) : ''; - liveFileEl.textContent = 'Файл ' + (d.idx + 1) + '/' + total + ': ' + d.name + (sz ? ' (' + sz + ')' : ''); + currentLiveFile = 'Файл ' + (d.idx + 1) + '/' + total + ': ' + d.name + (sz ? ' (' + sz + ')' : ''); + liveFileEl.textContent = currentLiveFile; }); activeES.addEventListener('llm', function(e) { const d = JSON.parse(e.data); if (d.active) { liveLlmTime.textContent = d.elapsed + ' с'; liveLlm.classList.add('show'); + // LLM анализирует ВСЕ файлы вместе — не показываем имя конкретного + liveFileEl.textContent = '🤖 ИИ анализирует все файлы…'; } else { liveLlm.classList.remove('show'); + if (currentLiveFile) liveFileEl.textContent = currentLiveFile; } }); activeES.addEventListener('done', function(e) {