From a45646740e345df6bd693217de847918bd794939 Mon Sep 17 00:00:00 2001 From: Carl-Robert Linnupuu Date: Thu, 5 Oct 2023 00:13:02 +0300 Subject: [PATCH] Rename md title --- .../codegpt/actions/toolwindow/OpenInEditorAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ee/carlrobert/codegpt/actions/toolwindow/OpenInEditorAction.java b/src/main/java/ee/carlrobert/codegpt/actions/toolwindow/OpenInEditorAction.java index 9202cc3f8..b46d21892 100644 --- a/src/main/java/ee/carlrobert/codegpt/actions/toolwindow/OpenInEditorAction.java +++ b/src/main/java/ee/carlrobert/codegpt/actions/toolwindow/OpenInEditorAction.java @@ -44,7 +44,7 @@ public void actionPerformed(@NotNull AnActionEvent e) { var fileContent = currentConversation .getMessages() .stream() - .map(it -> String.format("### User:\n%s\n### ChatGPT:\n%s\n", it.getPrompt(), + .map(it -> String.format("### User:\n%s\n### CodeGPT:\n%s\n", it.getPrompt(), it.getResponse())) .collect(Collectors.joining()); VirtualFile file = new LightVirtualFile(fileName, fileContent);