]> git.giacomolli.uk - onechat/blobdiff - turn_test.go
Keep scenario tests with their implementation
[onechat] / turn_test.go
index 3b86f0c5dd46a4a95c8dcf0358b1f003f8efe9a7..811487e8771fa54bcf33640606c7945eb6a4d59b 100644 (file)
@@ -423,3 +423,12 @@ func newTestTurnLoopWith(t *testing.T, server *ModelFake, summarizer Summarizer)
 
        return test
 }
 
        return test
 }
+
+func modelReasoningItem(id, encrypted string) map[string]any {
+       return map[string]any{
+               "type":              "reasoning",
+               "id":                id,
+               "encrypted_content": encrypted,
+               "summary":           []any{},
+       }
+}