Skip to content
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type" : "feature",
"description" : "Provide more frequent updates about code changes made by agent"
}
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ private suspend fun CodeGenerationState.generateCode(
messenger: MessagePublisher,
token: CancellationTokenSource?,
): CodeGenerationResult {
val pollCount = 180
val requestDelay = 10000L
val pollCount = 360
val requestDelay = 5000L

repeat(pollCount) {
if (token?.token?.isCancellationRequested() == true) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class CodeGenerationStateTest : FeatureDevTestBase() {
assertThat(actual.interaction.content).isEqualTo("")
}

verify(exactly = 180) { featureDevService.getTaskAssistCodeGeneration(testConversationId, codeGenerationId) }
verify(exactly = 360) { featureDevService.getTaskAssistCodeGeneration(testConversationId, codeGenerationId) }
coVerify(exactly = 0) { featureDevService.exportTaskAssistArchiveResult(testConversationId) }
}
}
Loading