@@ -18,11 +18,11 @@ import { UserWrittenCodeTracker } from '../../../../codewhisperer/tracker/userWr
1818export class ChatSession {
1919 private sessionId ?: string
2020 /**
21- * _listOfReadFiles = list of files read from the project to gather context before generating response.
21+ * _readFiles = list of files read from the project to gather context before generating response.
2222 * _filePath = The path helps the system locate exactly where to make the necessary changes in the project structure
2323 * _tempFilePath = Used to show the code diff view in the editor including LLM changes.
2424 */
25- private _listOfReadFiles : string [ ] = [ ]
25+ private _readFiles : string [ ] = [ ]
2626 private _filePath : string | undefined
2727 private _tempFilePath : string | undefined
2828 private _toolUse : ToolUse | undefined
@@ -57,7 +57,7 @@ export class ChatSession {
5757 this . sessionId = id
5858 }
5959 public get listOfReadFiles ( ) : string [ ] {
60- return this . _listOfReadFiles
60+ return this . _readFiles
6161 }
6262 public get filePath ( ) : string | undefined {
6363 return this . _filePath
@@ -72,10 +72,10 @@ export class ChatSession {
7272 this . _tempFilePath = tempFilePath
7373 }
7474 public pushToListOfReadFiles ( filePath : string ) {
75- this . _listOfReadFiles . push ( filePath )
75+ this . _readFiles . push ( filePath )
7676 }
7777 public clearListOfReadFiles ( ) {
78- this . _listOfReadFiles = [ ]
78+ this . _readFiles = [ ]
7979 }
8080 async chatIam ( chatRequest : SendMessageRequest ) : Promise < SendMessageCommandOutput > {
8181 const client = await createQDeveloperStreamingClient ( )
0 commit comments