X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/2532718d5288e1a2586fe5716cc41bb2a0210e16..4a605fa39078354654ae648e489c117c7a445197:/probe_test.go?ds=inline diff --git a/probe_test.go b/probe_test.go index 0651281..f791084 100644 --- a/probe_test.go +++ b/probe_test.go @@ -419,7 +419,7 @@ func newTestProbeRun(t *testing.T, server *fakeResponses) *probeRun { root := t.TempDir() usagePath := filepath.Join(root, "usage.jsonl") client := newClient(server.URL, apiKey(testKey), "onechat-"+probeName, usagePath) - memory, err := openMemory(t.Context(), root, newTestClock().Now, newCompactor(client, probeName, defaultConfig().Compactor)) + memory, err := openMemory(t.Context(), root, newTestClock().Now, newCompactor(client, probePrompt, defaultConfig().Compactor)) require.NoError(t, err) return &probeRun{