@@ -119,7 +119,7 @@ import { ensureLocalKilorulesDirExists } from "../context/instructions/kilo-rule
119119import { getMessagesSinceLastSummary , summarizeConversation } from "../condense"
120120import { Gpt5Metadata , ClineMessageWithMetadata } from "./types"
121121import { MessageQueueService } from "../message-queue/MessageQueueService"
122- import { findPartialAskMessage , findPartialSayMessage } from "./message-utils" // kilocode_change
122+ import { findPartialAskMessage , findPartialSayMessage } from "../kilocode/task /message-utils" // kilocode_change
123123
124124import { AutoApprovalHandler } from "./AutoApprovalHandler"
125125import { isAnyRecognizedKiloCodeError , isPaymentRequiredError } from "../../shared/kilocode/errorUtils"
@@ -774,9 +774,8 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
774774 // non-interactive messages (like checkpoint_saved) are inserted during streaming
775775 const partialResult = findPartialAskMessage ( this . clineMessages , type )
776776 const lastMessage = partialResult ?. message
777- // kilocode_change end
778-
779777 const isUpdatingPreviousPartial = lastMessage !== undefined
778+ // kilocode_change end
780779
781780 if ( partial ) {
782781 if ( isUpdatingPreviousPartial ) {
@@ -1166,9 +1165,8 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
11661165 // Search for the most recent partial say of this type
11671166 const partialResult = findPartialSayMessage ( this . clineMessages , type )
11681167 const lastMessage = partialResult ?. message
1169- // kilocode_change end
1170-
11711168 const isUpdatingPreviousPartial = lastMessage !== undefined
1169+ // kilocode_change end
11721170
11731171 if ( partial ) {
11741172 if ( isUpdatingPreviousPartial ) {
0 commit comments