File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed
packages/core/src/amazonqFeatureDev/session Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -132,23 +132,12 @@ export class Session {
132
132
telemetry : this . telemetry ,
133
133
tokenSource : this . state . tokenSource ,
134
134
uploadHistory : this . state . uploadHistory ,
135
- tokenSource : this . state . tokenSource ,
136
135
} )
137
136
138
137
if ( resp . nextState ) {
139
- // Cancel the request before moving to a new state
140
- < < < << << HEAD
141
- < << << << HEAD
142
138
if ( ! this . state ?. tokenSource ?. token . isCancellationRequested ) {
143
139
this . state ?. tokenSource ?. cancel ( )
144
140
}
145
- === = ===
146
- this . state ?. tokenSource ?. cancel ( )
147
- >>> > >>> 4742 b3c59 ( refactor ( amazonqFeatureDev ) : include updated rts model )
148
- === = ===
149
- if ( ! this . state ?. tokenSource ?. token . isCancellationRequested ) this . state ?. tokenSource ?. cancel ( )
150
- >>> > >>> e6782b66f ( fix ( amazonqFeatureDev ) : create a new token to stop and iterate in the same session )
151
-
152
141
// Move to the next state
153
142
this . _state = resp . nextState
154
143
}
Original file line number Diff line number Diff line change @@ -535,11 +535,7 @@ export class PrepareCodeGenState implements SessionState {
535
535
span
536
536
)
537
537
const uploadId = randomUUID ( )
538
- const {
539
- uploadUrl,
540
- uploadId : returnedUploadId ,
541
- kmsKeyArn,
542
- } = await this . config . proxyClient . createUploadUrl (
538
+ const { uploadUrl, kmsKeyArn } = await this . config . proxyClient . createUploadUrl (
543
539
this . config . conversationId ,
544
540
zipFileChecksum ,
545
541
zipFileBuffer . length ,
You can’t perform that action at this time.
0 commit comments