АДРЕСНЫЙ РЕЖИМ -ADDRESS: стабилизация контекстных цепочек и live-якорей (договор 19/15)

This commit is contained in:
2026-04-02 15:03:53 +03:00
parent cc7fcabf05
commit 4cb9fc7021
90 changed files with 15954 additions and 1561 deletions
@@ -385,7 +385,7 @@ function hasContractAnchorSignal(text: string): boolean {
if (hasContractAnchorMention(text)) {
return true;
}
// Allow short forms like "15/24" for follow-up prompts if document/bank signal exists.
// Allow short forms like "19/15" for follow-up prompts if document/bank signal exists.
return hasContractNumberLikeToken(text) && hasDocsOrBankSignal(text);
}
@@ -630,3 +630,4 @@ export function resolveAddressIntent(userMessage: string): AddressIntentResoluti
reasons: ["intent_not_supported_in_v1"]
};
}