mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-10 12:10:14 +00:00
Remove usage support
This commit is contained in:
parent
d88282f9f6
commit
e41f253653
11 changed files with 30 additions and 73 deletions
|
|
@ -42,9 +42,13 @@ import javax.swing.JTextArea;
|
|||
import javax.swing.SwingUtilities;
|
||||
import org.fife.ui.rsyntaxtextarea.SyntaxConstants;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
public class ChatToolWindowTabPanel implements ToolWindowTabPanel {
|
||||
|
||||
private static final Logger LOG = LoggerFactory.getLogger(ChatToolWindowTabPanel.class);
|
||||
|
||||
private final List<SyntaxTextArea> textAreas = new ArrayList<>();
|
||||
private final Project project;
|
||||
private JPanel chatGptToolWindowContent;
|
||||
|
|
@ -161,6 +165,7 @@ public class ChatToolWindowTabPanel implements ToolWindowTabPanel {
|
|||
textArea.append(message);
|
||||
scrollToBottom();
|
||||
} catch (Exception e) {
|
||||
LOG.error("Error while appending the content", e);
|
||||
textArea.append("Something went wrong. Please try again later.");
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue