mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Reduced max. summarize text size
This commit is contained in:
parent
ddd0871146
commit
9b17a27ee4
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
public class AI {
|
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) {
|
static boolean isAvailable(Context context) {
|
||||||
return (OpenAI.isAvailable(context) || Gemini.isAvailable(context));
|
return (OpenAI.isAvailable(context) || Gemini.isAvailable(context));
|
||||||
|
|
Loading…
Reference in a new issue