(Context context)
| 41 | static final int MAX_SUMMARIZE_TEXT_SIZE = 4 * 1024; |
| 42 | |
| 43 | static boolean isAvailable(Context context) { |
| 44 | return (OpenAI.isAvailable(context) || Gemini.isAvailable(context)); |
| 45 | } |
| 46 | |
| 47 | @NonNull |
| 48 | static Spanned completeChat(Context context, long id, boolean system, CharSequence body, String reply, String prompt) throws JSONException, IOException { |
no test coverage detected