You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MessageBoxEx.Show(this,$"The selected Free AI model '{model.Name}' is not available right now. Please select another model.","AI Chat Settings",MessageBoxButtons.OK,MessageBoxIcon.Exclamation);
203
+
DialogResult=DialogResult.None;
204
+
return;
194
205
}
195
206
}
196
207
@@ -313,10 +324,30 @@ cmbAiModel.SelectedItem is AiModel model &&
txtAiApiKey.Text="Unfortunately, this model is currently not supported.";
332
+
}
333
+
else
334
+
{
335
+
if(AiChatControl.IsFreeAiUser(fxb))
336
+
{
337
+
txtAiApiKey.Text="ApiKey is handled by Jonas for this free provider.";
338
+
}
339
+
else
340
+
{
341
+
txtAiApiKey.Text="To use the free provider, you have to submit a form only for Jonas to make sure you are not using gazillian tokens. Click the (i) button on the provider above!";
342
+
picAiSupplier.Tag="FREE";
343
+
tt.SetToolTip(picAiSupplier,$"Click to fill in the form to get free provider! at {OnlineSettings.Instance.AiSupport.UrlToUseForFree}");
txtAiApiKey.Text="ApiKey is handled by Jonas for this free provider.";
338
-
}
339
-
else
340
-
{
341
-
txtAiApiKey.Text="To use the free provider, you have to submit a form only for Jonas to make sure you are not using gazillian tokens. Click the (i) button on the provider above!";
342
-
picAiSupplier.Tag="FREE";
343
-
tt.SetToolTip(picAiSupplier,$"Click to fill in the form to get free provider! at {OnlineSettings.Instance.AiSupport.UrlToUseForFree}");
0 commit comments