Skip to content

Commit 545870e

Browse files
committed
Removed merge conflicts
1 parent b4b7a3d commit 545870e

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

packages/core/src/codewhispererChat/storages/chatHistory.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,7 @@ export class ChatHistoryManager {
6464
* Append a new user message to be sent
6565
*/
6666
public appendUserMessage(newMessage: ChatMessage): void {
67-
this.lastUserMessage = {
68-
userInputMessage: {
69-
content: newMessage.userInputMessage?.content ?? '',
70-
userIntent: newMessage.userInputMessage?.userIntent ?? undefined,
71-
userInputMessageContext: newMessage.userInputMessage?.userInputMessageContext ?? {
72-
tools: this.tools,
73-
},
74-
origin: newMessage.userInputMessage?.origin ?? undefined,
75-
},
76-
}
67+
this.lastUserMessage = newMessage
7768
this.fixHistory()
7869
if (!newMessage.userInputMessage?.content || newMessage.userInputMessage?.content.trim() === '') {
7970
this.logger.warn('input must not be empty when adding new messages')

packages/core/src/shared/utilities/workspaceUtils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ export async function findStringInDirectory(searchStr: string, dirPath: string)
674674

675675
/**
676676
* Returns a one-character tag for a directory ('d'), symlink ('l'), or file ('-').
677-
*
678677
*/
679678
export function formatListing(name: string, fileType: vscode.FileType, fullPath: string): string {
680679
let typeChar = '-'

0 commit comments

Comments
 (0)