File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
packages/core/src/codewhispererChat
controllers/chat/messenger Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff 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 [ ] = [ ]
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments