From 08d845887c00e830b2f83a2090fba4edfbb7cbf0 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 14 May 2024 17:08:11 +0200 Subject: [PATCH] Small fix --- .../main/java/eu/faircode/email/FragmentDialogSummarize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogSummarize.java b/app/src/main/java/eu/faircode/email/FragmentDialogSummarize.java index f8a4483e4d..8d4ba68ce9 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogSummarize.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogSummarize.java @@ -116,7 +116,7 @@ public class FragmentDialogSummarize extends FragmentDialogBase { String prompt = prefs.getString("openai_summarize", OpenAI.DEFAULT_SUMMARY_PROMPT); List result = new ArrayList<>(); - result.add(new OpenAI.Message(OpenAI.ASSISTANT, + result.add(new OpenAI.Message(OpenAI.USER, new OpenAI.Content[]{new OpenAI.Content(OpenAI.CONTENT_TEXT, prompt)})); result.add(new OpenAI.Message(OpenAI.USER, new OpenAI.Content[]{new OpenAI.Content(OpenAI.CONTENT_TEXT, text)}));