mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-11 21:31:04 +00:00
feat: Visualize downloaded models (#543)
* feat: Visualize downloaded models * Simplify GeneralSettings access
This commit is contained in:
parent
fcd0808111
commit
9bd7e6e83a
16 changed files with 135 additions and 89 deletions
|
|
@ -49,8 +49,7 @@ public final class ConversationService {
|
|||
conversation.setClientCode(clientCode);
|
||||
conversation.setCreatedOn(LocalDateTime.now());
|
||||
conversation.setUpdatedOn(LocalDateTime.now());
|
||||
conversation.setModel(getModelForSelectedService(
|
||||
GeneralSettings.getCurrentState().getSelectedService()));
|
||||
conversation.setModel(getModelForSelectedService(GeneralSettings.getSelectedService()));
|
||||
return conversation;
|
||||
}
|
||||
|
||||
|
|
@ -113,7 +112,7 @@ public final class ConversationService {
|
|||
}
|
||||
|
||||
public Conversation startConversation() {
|
||||
var completionCode = GeneralSettings.getCurrentState().getSelectedService().getCompletionCode();
|
||||
var completionCode = GeneralSettings.getSelectedService().getCompletionCode();
|
||||
var conversation = createConversation(completionCode);
|
||||
conversationState.setCurrentConversation(conversation);
|
||||
addConversation(conversation);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue