Skip to content

Commit 597a92d

Browse files
committed
fix(amazonqFeatureDev): don't share state to prepare code since code cancellation should be in gen
1 parent 1fd35af commit 597a92d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/amazonqFeatureDev/session/sessionState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ export class CodeGenState extends CodeGenBase implements SessionState {
372372
this.codeGenerationTotalIterationCount,
373373
action.uploadHistory,
374374
codeGenerationId,
375-
action.tokenSource,
375+
this.tokenSource,
376376
this.currentCodeGenerationId
377377
)
378378
return {

0 commit comments

Comments
 (0)