feat: add the latest OpenAI chat models

This commit is contained in:
Carl-Robert Linnupuu 2024-02-06 17:56:50 +02:00
parent 169957687d
commit df14b88617
3 changed files with 9 additions and 9 deletions

View file

@ -92,8 +92,8 @@ public class GenerateGitCommitMessageAction extends AnAction {
}
}
private CompletionEventListener getEventListener(Project project, Document document) {
return new CompletionEventListener() {
private CompletionEventListener<String> getEventListener(Project project, Document document) {
return new CompletionEventListener<>() {
private final StringBuilder messageBuilder = new StringBuilder();
@Override