Skip to content

Commit ad09292

Browse files
committed
fix(chat): add session context for the agentic loop
1 parent b1beba3 commit ad09292

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ export class ChatController {
774774
toolResults: toolResults,
775775
profile: AuthUtil.instance.regionProfileManager.activeRegionProfile,
776776
origin: Origin.IDE,
777-
context: [],
777+
context: session.context ?? [],
778778
relevantTextDocuments: [],
779779
additionalContents: [],
780780
documentReferences: [],

0 commit comments

Comments
 (0)