Feature: Support chatting with multiple files (#306)

* Initial implementation

* Refactor UI related classes and organize imports

* Display selected files notification, include the files in the prompt

* feat: store referenced file paths in the messate state

* feat: add selected files accordion

* feat: update UI

* feat: improve file selection

* feat: support prompt template configuration

* fix: token calculation for virtualfile checkbox tree

* refactor: clean up

* refactor: move labels/descriptions to bundle
This commit is contained in:
Carl-Robert 2023-12-12 22:30:39 +02:00 committed by GitHub
parent 4354000ddb
commit f4be25bdac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 1125 additions and 148 deletions

View file

@ -3,15 +3,17 @@ package ee.carlrobert.codegpt.toolwindow.chat;
import com.intellij.openapi.Disposable;
import ee.carlrobert.codegpt.conversations.Conversation;
import ee.carlrobert.codegpt.conversations.message.Message;
import ee.carlrobert.codegpt.toolwindow.chat.ui.textarea.TotalTokensDetails;
import javax.swing.JComponent;
import javax.swing.JPanel;
public interface ChatToolWindowTabPanel extends Disposable {
JPanel getContent();
JComponent getContent();
Conversation getConversation();
TokenDetails getTokenDetails();
TotalTokensDetails getTokenDetails();
void displayLandingView();