|
|
|
@ -523,6 +523,16 @@ public class FragmentOptionsIntegrations extends FragmentBase implements SharedP
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|
new SimpleTask<List<String>>() {
|
|
|
|
new SimpleTask<List<String>>() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
protected void onPreExecute(Bundle args) {
|
|
|
|
|
|
|
|
ibOpenAiModel.setEnabled(false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
protected void onPostExecute(Bundle args) {
|
|
|
|
|
|
|
|
ibOpenAiModel.setEnabled(true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
protected List<String> onExecute(Context context, Bundle args) throws Throwable {
|
|
|
|
protected List<String> onExecute(Context context, Bundle args) throws Throwable {
|
|
|
|
return AI.getModelList(context);
|
|
|
|
return AI.getModelList(context);
|
|
|
|
|