Skip to content

Commit e1e5177

Browse files
committed
feat(amazonq) Increase polling rate for Q agent code summary
1 parent 6a849a8 commit e1e5177

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "feature",
3+
"description" : "Provide more frequent updates about code changes made by agent"
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqFeatureDev/session/CodeGenerationState.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ class CodeGenerationState(
120120
}
121121

122122
private suspend fun CodeGenerationState.generateCode(codeGenerationId: String, messenger: MessagePublisher): CodeGenerationResult {
123-
val pollCount = 180
124-
val requestDelay = 10000L
123+
val pollCount = 360
124+
val requestDelay = 5000L
125125

126126
repeat(pollCount) {
127127
val codeGenerationResultState = config.featureDevService.getTaskAssistCodeGeneration(

0 commit comments

Comments
 (0)