X-Git-Url: http://git.giacomolli.uk/onechat/blobdiff_plain/38a9b0502a1ccefc6ccb3472c4a21805b222caa6..0a98ccb:/turn_test.go?ds=sidebyside diff --git a/turn_test.go b/turn_test.go index 319dcf3..1d95856 100644 --- a/turn_test.go +++ b/turn_test.go @@ -392,7 +392,7 @@ func newTestTurnLoopWith(t *testing.T, server *ModelFake, summarizer Summarizer) client := newModelClient(server.URL, ModelAPIKey(modelTestKey), agent.CacheKey(), test.usagePath) whatsapp, _, _ := whatsappStartTest(t, t.TempDir(), clock) - test.loop, err = newTurnLoop(agent, memory, newTestSubagents(t), whatsapp, client, clock.Now, test.events.Add) + test.loop, err = newTurnLoop(agent, memory, newTestSubagents(t), whatsapp, newTestSchedules(t, clock.Now), client, clock.Now, test.events.Add) require.NoError(t, err) ctx, cancel := context.WithCancel(t.Context()) done := make(chan error)