ДОМЕНЫ - ВОПРОСЫ - СКЛАД - Склад: усилить follow-up оркестрацию и business-first формат ответов

This commit is contained in:
2026-04-14 21:42:19 +03:00
parent 97b2a9b028
commit c020ef08e1
25 changed files with 1742 additions and 336 deletions
@@ -216,7 +216,11 @@ function resolveNavigationAction(debug: Record<string, unknown>, hasFocusObject:
}
function buildFocusObjectFromDebug(debug: Record<string, unknown>, resultSetId: string, createdAt: string): AddressFocusObject | null {
const rawValue = toNonEmptyString(debug.anchor_value_resolved) ?? toNonEmptyString(debug.anchor_value_raw);
const extractedFilters = toObject(debug.extracted_filters) ?? {};
const rawValue =
toNonEmptyString(debug.anchor_value_resolved) ??
toNonEmptyString(debug.anchor_value_raw) ??
toNonEmptyString(extractedFilters.item);
if (!rawValue) {
return null;
}