Gemini: updated parameters

pull/214/head
M66B 4 months ago
parent 589f222481
commit e45b90d9a7

@ -41,8 +41,9 @@ import java.util.Objects;
import javax.net.ssl.HttpsURLConnection;
public class Gemini {
private static final int MAX_GEMINI_LEN = 1000; // characters
private static final int TIMEOUT = 20; // seconds
// https://ai.google.dev/models/gemini
private static final int MAX_GEMINI_LEN = 4000; // characters
private static final int TIMEOUT = 30; // seconds
static boolean isAvailable(Context context) {
if (TextUtils.isEmpty(BuildConfig.GEMINI_ENDPOINT))

Loading…
Cancel
Save