mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-04-29 04:00:46 +00:00
Improve response regeneration (#51)
This commit is contained in:
parent
525c316739
commit
a22007439d
4 changed files with 29 additions and 24 deletions
|
|
@ -159,4 +159,8 @@ public class ConversationsState implements PersistentStateComponent<Conversation
|
|||
|
||||
nextConversation.ifPresent(this::setCurrentConversation);
|
||||
}
|
||||
|
||||
public Conversation getOrStartNew() {
|
||||
return currentConversation == null ? startConversation() : currentConversation;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue