Preserve ZIP source during upload
Deploy contracts-flask / validate (push) Canceled after 0s

This commit is contained in:
“Naeel”
2026-08-27 09:45:54 +03:00
parent 65939984c3
commit 475efefb40
4 changed files with 35 additions and 9 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
"""Конфигурация приложения — все настройки в одном месте."""
import os
VERSION = "2.0.18"
VERSION = "2.0.19"
LLM_URL = os.getenv("LLM_API_URL", "https://api.aillm.ru/v1/chat/completions")
LLM_KEY = os.getenv("LLM_API_KEY", "")
+1 -1
View File
@@ -421,7 +421,7 @@ async function onFilesSelected(newFiles) {
var resp = await uploadFile(f, function(st) {
entry.status = st;
render(state);
});
}, entry.zip_source);
if (resp && resp.contract_id) state.contractId = resp.contract_id;
entry.doc_id = resp.doc_id;
entry.status = { kind: 'uploaded' };
+7 -7
View File
@@ -73,7 +73,7 @@
<body>
<div class="topbar">
<img src="/static/logo.svg" alt="Nubes">
<span class="title">Сверка договоров — LLM AI-driven Event Sourcing <span style="font-weight:400;color:var(--muted);font-size:12px;">v2.0.18</span></span>
<span class="title">Сверка договоров — LLM AI-driven Event Sourcing <span style="font-weight:400;color:var(--muted);font-size:12px;">v2.0.19</span></span>
<div id="pipelineStepper" style="display:flex;gap:8px;font-size:11px;align-items:center;color:var(--muted);">
<span id="stepUpload">○ Загрузка</span><span></span>
<span id="stepClassify">○ Классификация</span><span></span>
@@ -224,11 +224,11 @@
import { listZipFiles } from '/upload/zip/list_zip_files.js';
window.listZipFiles = listZipFiles;
</script>
<script src="/static/state.js?v=2.0.18"></script>
<script src="/static/app_utils.js?v=2.0.18"></script>
<script src="/static/files.js?v=2.0.18"></script>
<script src="/static/groups.js?v=2.0.18"></script>
<script src="/static/compare.js?v=2.0.18"></script>
<script src="/static/app.js?v=2.0.18"></script>
<script src="/static/state.js?v=2.0.19"></script>
<script src="/static/app_utils.js?v=2.0.19"></script>
<script src="/static/files.js?v=2.0.19"></script>
<script src="/static/groups.js?v=2.0.19"></script>
<script src="/static/compare.js?v=2.0.19"></script>
<script src="/static/app.js?v=2.0.19"></script>
</body>
</html>