mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 04:50:31 +00:00
Add checkstyle rules (#274)
This commit is contained in:
parent
fe613afc74
commit
c4115e257b
72 changed files with 1129 additions and 564 deletions
|
|
@ -98,8 +98,8 @@ public class SettingsComponent {
|
|||
.withValidator(() -> {
|
||||
if (component instanceof ComboBox) {
|
||||
var selectedItem = ((ComboBox<?>) component).getSelectedItem();
|
||||
if (selectedItem == ServiceType.OPENAI &&
|
||||
OpenAISettingsState.getInstance().isOpenAIQuotaExceeded()) {
|
||||
if (selectedItem == ServiceType.OPENAI
|
||||
&& OpenAISettingsState.getInstance().isOpenAIQuotaExceeded()) {
|
||||
return new ValidationInfo(
|
||||
CodeGPTBundle.get("settings.openaiQuotaExceeded"),
|
||||
component);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue