]> git.giacomolli.uk - onechat/blobdiff - compactor_test.go
Check the width of comment lines
[onechat] / compactor_test.go
index eaed4feeeb9373b58a59a6b6fa29a4a4980cc016..baa7f57ed7c6c88db4342403ea8f2093b793c5f5 100644 (file)
@@ -208,7 +208,7 @@ func newTestCompactor(t *testing.T, server *ModelFake) *Compactor {
        return newCompactor(client, compactorAdaPrompt, ModelConfig{
                Model:  "gpt-test",
                Effort: "high",
        return newCompactor(client, compactorAdaPrompt, ModelConfig{
                Model:  "gpt-test",
                Effort: "high",
-       })
+       }, promptTools(), &ImageStore{dir: t.TempDir()})
 }
 
 // compactorInputTexts returns the text of each user message of call. Each
 }
 
 // compactorInputTexts returns the text of each user message of call. Each