v3.2.1: /llm — отдельная страница, / — без LLM

This commit is contained in:
2026-06-18 09:01:30 +04:00
parent e534d014ef
commit f1495d07e3
3 changed files with 536 additions and 160 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ class ContractsApp:
# Парсинг: SSE-поток
self.app.add_url_rule("/parse/<cid>", "parse", parse)
# LLM: извлечение + сравнение
# LLM: страница + SSE-извлечение
self.app.add_url_rule("/llm", "llm_page", lambda: __import__('flask').render_template('llm.html'))
self.app.add_url_rule("/llm/process/<cid>", "llm_process", llm_process)
# Служебные