Skip to content

Commit d5c2e8d

Browse files
committed
Minor changes
1 parent 8f73a7e commit d5c2e8d

File tree

2 files changed

+2
-4
lines changed
  • packages/core/src/codewhispererChat

2 files changed

+2
-4
lines changed

packages/core/src/codewhispererChat/clients/chat/v0/chat.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ export class ChatSession {
1919
private sessionId?: string
2020
/**
2121
* _readFiles = list of files read from the project to gather context before generating response.
22-
* _filePath = The path helps the system locate exactly where to make the necessary changes in the project structure
23-
* _tempFilePath = Used to show the code diff view in the editor including LLM changes.
2422
* _showDiffOnFileWrite = Controls whether to show diff view (true) or file context view (false) to the user
2523
*/
2624
private _readFiles: string[] = []

packages/core/src/codewhispererChat/controllers/chat/messenger/messenger.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ export class Messenger {
443443
position: 'outside',
444444
status: 'info',
445445
})
446-
} else if (requiresAcceptance && toolUse?.name === ToolType.FsWrite) {
446+
} else if (toolUse?.name === ToolType.FsWrite) {
447447
// FileList
448448
const absoluteFilePath = (toolUse?.input as any).path
449449
const projectPath = getWorkspaceForFile(absoluteFilePath)
@@ -483,7 +483,7 @@ export class Messenger {
483483
contextList: undefined,
484484
canBeVoted: false,
485485
buttons,
486-
fileList: requiresAcceptance && toolUse?.name === ToolType.FsWrite ? fileList : undefined,
486+
fileList: toolUse?.name === ToolType.FsWrite ? fileList : undefined,
487487
},
488488
tabID
489489
)

0 commit comments

Comments
 (0)