1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-25 01:06:04 +00:00

Reduced max. summarize text size

This commit is contained in:
M66B 2024-05-20 15:25:04 +02:00
parent ddd0871146
commit 9b17a27ee4

View file

@ -36,7 +36,7 @@ import java.util.ArrayList;
import java.util.List;
public class AI {
private static final int MAX_SUMMARIZE_TEXT_SIZE = 10 * 1024;
private static final int MAX_SUMMARIZE_TEXT_SIZE = 4 * 1024;
static boolean isAvailable(Context context) {
return (OpenAI.isAvailable(context) || Gemini.isAvailable(context));