router: cover the list parsers and wire the grammars (V-453)

This commit is contained in:
2026-08-04 04:45:13 +04:00
parent e023638135
commit d41878c2b1
2 changed files with 90 additions and 0 deletions
+1
View File
@@ -379,6 +379,7 @@ func buildRouter(emb router.Embedder, acts router.ActMatcher, threshold float64,
// question and must keep reaching replySystem, while "что у меня сегодня"
// is an agenda question and must not.
grammars = append(grammars, router.AgendaQueryGrammars()...)
grammars = append(grammars, router.ListGrammars()...)
grammars = append(grammars, router.ReminderGrammar())
return router.New(router.Config{
Grammars: grammars,