mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 15:46:34 +02:00
Refactoring
This commit is contained in:
@@ -277,10 +277,7 @@ public class OpenAI {
|
||||
return this.content;
|
||||
}
|
||||
|
||||
static Content[] get(Spannable ssb, long id, Context context) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean multimodal = prefs.getBoolean("openai_multimodal", true);
|
||||
|
||||
static Content[] get(Spannable ssb, long id, boolean multimodal, Context context) {
|
||||
DB db = DB.getInstance(context);
|
||||
List<OpenAI.Content> contents = new ArrayList<>();
|
||||
int start = 0;
|
||||
|
||||
Reference in New Issue
Block a user