]> git.giacomolli.uk - onechat/blobdiff - daemon_start_helper_test.go
Send messages to subagents with tell
[onechat] / daemon_start_helper_test.go
index fd89b34bddfa0ae5b176efe7eb0cabb00e9c3b0d..1952e77440ed41408d43f9aa2d23c34a16b32b67 100644 (file)
@@ -30,7 +30,7 @@ func daemonStartTestWithBot(t *testing.T, server *ModelFake, bot *TelegramBot) s
        done := make(chan error)
        go func() {
                done <- daemonServe(ctx, listener, bot, func(notify func(Event)) (*TurnLoop, error) {
-                       return newTurnLoop(agent, memory, client, clock.Now, notify)
+                       return newTurnLoop(agent, memory, newTestSubagents(t), client, clock.Now, notify)
                })
        }()