feat: 会话编排建材化+阿语号码转ASCII+12小时话术跨层同步
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -482,17 +482,17 @@ def test_reminder_boundary_covers_delivery_and_arrangement():
|
||||
assert "职能边界" in ConversationManager._build_context_reminder(
|
||||
{}, "how long does shipping take?", [])
|
||||
assert "职能边界" in ConversationManager._build_context_reminder(
|
||||
{}, "可以约试驾吗", [])
|
||||
{}, "可以安排验厂吗", [])
|
||||
assert "职能边界" in ConversationManager._build_context_reminder(
|
||||
{}, "my budget is 20000, any recommendation?", [])
|
||||
|
||||
|
||||
def test_reminder_no_boundary_on_normal_car_questions():
|
||||
# 续航/配置/库存类正常问题不得误触发
|
||||
# 规格/配置/库存类正常问题不得误触发
|
||||
assert "职能边界" not in ConversationManager._build_context_reminder(
|
||||
{}, "what is the range of the Tang?", [])
|
||||
{}, "what is the pressure rating of the PE100 pipe?", [])
|
||||
assert "职能边界" not in ConversationManager._build_context_reminder(
|
||||
{}, "这款车续航多久", [])
|
||||
{}, "这根管耐压多少", [])
|
||||
|
||||
|
||||
def test_reminder_boundary_on_pressure_phrases():
|
||||
|
||||
Reference in New Issue
Block a user