Added no AI available error

pull/215/head
M66B 7 months ago
parent 25e1e7ad4a
commit a44c73ad3c

@ -94,7 +94,7 @@ public class AI {
} }
return sb.toString(); return sb.toString();
} else } else
return null; throw new IllegalArgumentException("No AI available");
} }
static String getSummarizePrompt(Context context) { static String getSummarizePrompt(Context context) {
@ -186,6 +186,6 @@ public class AI {
} }
return sb.toString(); return sb.toString();
} else } else
return null; throw new IllegalArgumentException("No AI available");
} }
} }

Loading…
Cancel
Save