Skip to content

Commit 6a95b56

Browse files
authored
Merge pull request #29 from The-Nefarious-Developer/fix-context
chore: trigger release for editor context fix
2 parents 399233a + f75934f commit 6a95b56

File tree

1 file changed

+1
-1
lines changed
  • com.developer.nefarious.zjoule.plugin/src/com/developer/nefarious/zjoule/plugin/chat

1 file changed

+1
-1
lines changed

com.developer.nefarious.zjoule.plugin/src/com/developer/nefarious/zjoule/plugin/chat/ChatOrchestrator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public String getAnswer(final String userPrompt, final String editorContent) {
3030
List<IChatMessage> messageHistory = aiClient.getMessageHistory();
3131
messages.addAll(messageHistory);
3232

33-
// 2. Get context
33+
// 2. Set instructions and editor content as context
3434
String baseInstructions = Instruction.getMessage();
3535
String systemInstructions = editorContent != null
3636
? baseInstructions + " Consider the following code as context: " + editorContent

0 commit comments

Comments
 (0)