mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-13 07:02:34 +00:00
Support seamless chat experience - GPT-3.5 (#68)
This commit is contained in:
parent
36caef792d
commit
f4be55b213
12 changed files with 191 additions and 40 deletions
|
|
@ -23,6 +23,7 @@ import ee.carlrobert.codegpt.toolwindow.components.LandingView;
|
|||
import ee.carlrobert.codegpt.toolwindow.components.ScrollPane;
|
||||
import ee.carlrobert.codegpt.toolwindow.components.SyntaxTextArea;
|
||||
import ee.carlrobert.codegpt.toolwindow.components.TextArea;
|
||||
import ee.carlrobert.openai.client.completion.ErrorDetails;
|
||||
import icons.Icons;
|
||||
import java.awt.Cursor;
|
||||
import java.awt.Dimension;
|
||||
|
|
@ -174,8 +175,8 @@ public class ChatToolWindowTabPanel implements ToolWindowTabPanel {
|
|||
stopGenerating(message, textArea);
|
||||
}
|
||||
|
||||
public void handleError(String errorMessage) {
|
||||
textArea.append(errorMessage);
|
||||
public void handleError(ErrorDetails error) {
|
||||
textArea.append("\n" + error.getMessage());
|
||||
}
|
||||
};
|
||||
requestService.call(message, isRetry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue