mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Added no AI available error
This commit is contained in:
@@ -94,7 +94,7 @@ public class AI {
|
||||
}
|
||||
return sb.toString();
|
||||
} else
|
||||
return null;
|
||||
throw new IllegalArgumentException("No AI available");
|
||||
}
|
||||
|
||||
static String getSummarizePrompt(Context context) {
|
||||
@@ -186,6 +186,6 @@ public class AI {
|
||||
}
|
||||
return sb.toString();
|
||||
} else
|
||||
return null;
|
||||
throw new IllegalArgumentException("No AI available");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user