You API integration (#203)

* Ability to configure custom service

* Add example preset templates, rename module

* Custom service client impl

* Add YOU API integration

* Remove/ignore generated antlr classes

* Remove text completion models(deprecated)

* Remove unused code, fix settings state sync

* Display model name/icon in the tool window

* Update chat history UI

* Fix model/service sync

* Clear plugin state

* Fix minor bugs, add settings sync tests

* UI changes

* Separate model configuration

* Add support for overriding the completion path

* Update Find Bugs prompt
This commit is contained in:
Carl-Robert 2023-09-14 14:52:18 +03:00 committed by GitHub
parent a860054360
commit 37af74ebdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
125 changed files with 1673 additions and 1537 deletions

View file

@ -3,7 +3,6 @@ package ee.carlrobert.codegpt.conversations;
import static java.util.stream.Collectors.toList;
import ee.carlrobert.codegpt.conversations.message.Message;
import ee.carlrobert.openai.client.ClientCode;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
@ -13,7 +12,7 @@ public class Conversation {
private UUID id;
private List<Message> messages = new ArrayList<>();
private ClientCode clientCode;
private String clientCode;
private String model;
private LocalDateTime createdOn;
private LocalDateTime updatedOn;
@ -35,11 +34,11 @@ public class Conversation {
this.messages = messages;
}
public ClientCode getClientCode() {
public String getClientCode() {
return clientCode;
}
public void setClientCode(ClientCode clientCode) {
public void setClientCode(String clientCode) {
this.clientCode = clientCode;
}