chore: закоммичены все рабочие файлы smeta-web
Предотвращение потери данных при деплое: batch_v3, search_engine, xlsx_utils, тесты, скрипты деплоя, архитектура, security page, admin page. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,6 @@ from claude_bridge_glm import (
|
||||
_build_system_prompt,
|
||||
_load_smeta_data,
|
||||
_search_normative,
|
||||
_search_resources,
|
||||
_read_work_dir_files,
|
||||
get_work_dir,
|
||||
get_session_id,
|
||||
@@ -95,8 +94,9 @@ def _build_context(message: str, username: str, tab_id: str) -> str:
|
||||
"сварочн", "устройство", "ремонт пути", "всп", "сцб",
|
||||
]
|
||||
if any(p in message.lower() for p in gesn_patterns):
|
||||
from claude_bridge_glm import _search_resources
|
||||
resource_context = _search_resources(message)
|
||||
from claude_bridge_glm import _resources
|
||||
from search_engine import _search_resources
|
||||
resource_context = _search_resources(message, _resources)
|
||||
|
||||
# Normative RAG
|
||||
normative_context = _search_normative(message)
|
||||
|
||||
Reference in New Issue
Block a user