mirror of https://github.com/M66B/FairEmail.git
Reduced max. summarize text size
This commit is contained in:
parent
ddd0871146
commit
9b17a27ee4
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue