]> git.giacomolli.uk - onechat/blobdiff - probe_test.go
Call sendRichMessage of the Bot API
[onechat] / probe_test.go
index 0651281368c3e194ab15711986384c226fbc484e..f7910840927c7b18c0244e50c5ec8007d5036890 100644 (file)
@@ -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{