Skip to content

Commit ce1a556

Browse files
committed
multi ws context transparency
1 parent e87cf08 commit ce1a556

File tree

1 file changed

+1
-5
lines changed
  • packages/core/src/codewhispererChat/controllers/chat

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,11 +1002,7 @@ export class ChatController {
10021002
workspaceFolders.sort()
10031003
const workspaceFolder = workspaceFolders[0]
10041004
for (const contextCommand of contextCommands) {
1005-
const relativePath = path.relative(
1006-
workspaceFolder,
1007-
path.join(contextCommand.workspaceFolder, contextCommand.relativePath)
1008-
)
1009-
session.relativePathToWorkspaceRoot.set(relativePath, contextCommand.workspaceFolder)
1005+
session.relativePathToWorkspaceRoot.set(contextCommand.workspaceFolder, contextCommand.workspaceFolder)
10101006
}
10111007
let prompts: AdditionalContextPrompt[] = []
10121008
try {

0 commit comments

Comments
 (0)