Skip to content

Commit 675c623

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

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
@@ -331,7 +331,7 @@ export class CodeGenState extends CodeGenBase implements SessionState {
331331
this.currentIteration + 1,
332332
this.codeGenerationRemainingIterationCount,
333333
this.codeGenerationTotalIterationCount,
334-
action.tokenSource,
334+
this.tokenSource,
335335
this.currentCodeGenerationId
336336
)
337337
return {

0 commit comments

Comments
 (0)