mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-20 17:52:23 +00:00
feat: Visualize downloaded models (#543)
* feat: Visualize downloaded models * Simplify GeneralSettings access
This commit is contained in:
parent
4dbe0f5532
commit
c4b65e7a53
15 changed files with 135 additions and 88 deletions
|
|
@ -229,7 +229,7 @@ public class ChatToolWindowTabPanel implements Disposable {
|
|||
private void call(CallParameters callParameters, ResponsePanel responsePanel) {
|
||||
var responseContainer = (ChatMessageResponseBody) responsePanel.getContent();
|
||||
|
||||
if (!CompletionRequestService.getInstance().isRequestAllowed()) {
|
||||
if (!CompletionRequestService.getInstance().isAllowed()) {
|
||||
responseContainer.displayMissingCredential();
|
||||
return;
|
||||
}
|
||||
|
|
@ -361,7 +361,7 @@ public class ChatToolWindowTabPanel implements Disposable {
|
|||
gbc.fill = GridBagConstraints.HORIZONTAL;
|
||||
gbc.gridy = 1;
|
||||
rootPanel.add(
|
||||
createUserPromptPanel(GeneralSettings.getCurrentState().getSelectedService()), gbc);
|
||||
createUserPromptPanel(GeneralSettings.getSelectedService()), gbc);
|
||||
return rootPanel;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue