From 9ea2ff55184d4979a3e4c185bc64205a75b4be5e Mon Sep 17 00:00:00 2001 From: Mikhail Date: Thu, 21 May 2026 23:31:01 +0300 Subject: [PATCH] Show AI structure path errors in HTML5 --- .../src/api_server/html5_ai_structure.py | 20 +++++++++++++++++-- .../html5_ai_structure_controller.py | 19 ++++++++++++++---- services/api-server/tests/test_api.py | 15 +++++++++++++- 3 files changed, 47 insertions(+), 7 deletions(-) diff --git a/services/api-server/src/api_server/html5_ai_structure.py b/services/api-server/src/api_server/html5_ai_structure.py index 2bbb3c2..58c2761 100644 --- a/services/api-server/src/api_server/html5_ai_structure.py +++ b/services/api-server/src/api_server/html5_ai_structure.py @@ -25,6 +25,7 @@ def render_html5_ai_structure_page(*, project_id: str, projects: Iterable[object
Подготовка структуры
{render_html5_ai_structure_form(project_id)} +

Пути должны быть доступны серверу SFERA/API. Для docker-test используйте папку, смонтированную или доступную внутри контейнера; локальные диски Windows и закрытые SMB-папки без учетных данных сервер не увидит.

{render_html5_ai_structure_result(result)}
@@ -43,11 +44,11 @@ def render_html5_ai_structure_form(project_id: str) -> str: >