You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/events/CopilotEventConstants.java
+22-2Lines changed: 22 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,14 +49,34 @@ public class CopilotEventConstants {
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/lsp/CopilotLanguageServerConnection.java
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/lsp/protocol/ConversationCreateParams.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@
15
15
*/
16
16
publicclassConversationCreateParams {
17
17
privateStringworkDoneToken;
18
-
privateTurn[]turns;
18
+
privateList<Turn>turns;
19
19
privateConversationCapabilitiescapabilities;
20
20
privatebooleancomputeSuggestions;
21
21
privateTextDocumentIdentifiertextDocument;
@@ -37,7 +37,7 @@ public class ConversationCreateParams {
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/persistence/ConversationDataFactory.java
+52-2Lines changed: 52 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -201,8 +201,10 @@ public List<Turn> convertToTurns(List<AbstractTurnData> turnDataList) {
201
201
if (turnDataList == null || turnDataList.isEmpty()) {
202
202
returnnewArrayList<>();
203
203
}
204
-
List<Turn> result = newArrayList<>(turnDataList.size());
205
-
for (AbstractTurnDataturnData : turnDataList) {
204
+
// Defensive copy to avoid ConcurrentModificationException if another thread mutates the list while iterating.
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/persistence/ConversationPersistenceManager.java
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -257,6 +257,8 @@ private ConversationData getOrCreateNewConversationById(String conversationId) t
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.core/src/com/microsoft/copilot/eclipse/core/persistence/ConversationPersistenceService.java
+3-33Lines changed: 3 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ public ConversationPersistenceService(AuthStatusManager authStatusManager) {
82
82
83
83
/**
84
84
* Saves the conversation data to conversation JSON file and updates the index if it's a new conversation or the
85
-
* conversation title should be updated.
85
+
* conversation title / lastMessageDate should be updated.
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.ui.terminal.tm/src/com/microsoft/copilot/eclipse/ui/terminal/tm/RunInTerminalTool.java
Copy file name to clipboardExpand all lines: com.microsoft.copilot.eclipse.ui.terminal/src/com/microsoft/copilot/eclipse/ui/terminal/RunInTerminalTool.java
0 commit comments