Reduced max. summarize text size

This commit is contained in:
M66B 2024-05-20 15:25:04 +02:00
parent ddd0871146
commit 9b17a27ee4
1 changed files with 1 additions and 1 deletions

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));