feat: extract llama request settings to its own state, improve UI/UX

This commit is contained in:
Carl-Robert Linnupuu 2023-12-21 14:46:45 +02:00
parent 9d83107dd5
commit e230640063
15 changed files with 446 additions and 267 deletions

View file

@ -188,7 +188,7 @@ public class IncludeFilesInContextAction extends AnAction {
new Dimension(480, component.getPreferredSize().height + 48));
dialogBuilder.setNorthPanel(FormBuilder.createFormBuilder()
.addLabeledComponent(
CodeGPTBundle.get("action.includeFilesInContext.dialog.promptTemplate.label"),
CodeGPTBundle.get("shared.promptTemplate"),
PanelFactory.panel(promptTemplateTextArea).withComment(
"<html><p>The template that will be used to create the final prompt. "
+ "The <strong>{REPEATABLE_CONTEXT}</strong> placeholder must be included "