Refine topic workflow followups

This commit is contained in:
2026-03-13 02:21:08 +04:00
parent 88b50d2cb7
commit f1670c521f
11 changed files with 569 additions and 291 deletions

View File

@@ -1807,8 +1807,12 @@ Confirm or cancel below.`,
})
await bot.handleUpdate(topicMessageUpdate('I think we need a TV in the house') as never)
await bot.handleUpdate(topicMessageUpdate('Bot, do you remember what we said today?') as never)
await bot.handleUpdate(topicMessageUpdate('Bot, do you remember what you answered?') as never)
await bot.handleUpdate(
topicMentionUpdate('@household_test_bot do you remember what we said today?') as never
)
await bot.handleUpdate(
topicMentionUpdate('@household_test_bot do you remember what you answered?') as never
)
expect(recentThreadTexts).toContain('I think we need a TV in the house')
expect(recentThreadTexts).toContain('Yes. You were discussing a TV for the house.')
@@ -1886,7 +1890,7 @@ Confirm or cancel below.`,
await bot.handleUpdate(topicMessageUpdate('Я думаю о семечках') as never)
await bot.handleUpdate(
topicMessageUpdate('Бот, можешь дать сводку, что происходило в чате?') as never
topicMentionUpdate('@household_test_bot можешь дать сводку, что происходило в чате?') as never
)
expect(assistantCalls).toBe(1)