mirror of https://github.com/M66B/FairEmail.git
Increased OpenAI timeout to 45 seconds
This commit is contained in:
parent
7449edd3b2
commit
f6af86c629
|
@ -44,7 +44,7 @@ import java.util.Objects;
|
||||||
|
|
||||||
public class OpenAI {
|
public class OpenAI {
|
||||||
private static final int MAX_OPENAI_LEN = 1000; // characters
|
private static final int MAX_OPENAI_LEN = 1000; // characters
|
||||||
private static final int TIMEOUT = 30; // seconds
|
private static final int TIMEOUT = 45; // seconds
|
||||||
|
|
||||||
static boolean isAvailable(Context context) {
|
static boolean isAvailable(Context context) {
|
||||||
if (TextUtils.isEmpty(BuildConfig.OPENAI_ENDPOINT))
|
if (TextUtils.isEmpty(BuildConfig.OPENAI_ENDPOINT))
|
||||||
|
|
Loading…
Reference in New Issue