@@ -152,7 +152,7 @@ export function createCoreRuntime(deps: RuntimeDeps) {
152152
153153 if ( finalChunks . length > 1 ) {
154154 if ( statusFormat !== "aggressive" && ! statusRateLimited ) {
155- await runtimeDeps . im . updateMessage ( channelId , statusTs , "Final result posted below in multiple messages." , false ) ;
155+ await runtimeDeps . im . updateMessage ( channelId , statusTs , "Final result posted below in multiple messages." ) ;
156156 } else if ( statusRateLimited ) {
157157 log . warn ( "Skipping final status update due to prior 429; posting final chunks as new messages" , {
158158 channelId,
@@ -163,13 +163,13 @@ export function createCoreRuntime(deps: RuntimeDeps) {
163163 }
164164
165165 for ( const chunk of finalChunks ) {
166- await runtimeDeps . im . sendMessage ( channelId , threadId , chunk , true ) ;
166+ await runtimeDeps . im . sendMessage ( channelId , threadId , chunk ) ;
167167 }
168168 return ;
169169 }
170170
171171 if ( statusFormat === "aggressive" ) {
172- await runtimeDeps . im . sendMessage ( channelId , threadId , singleChunk , true ) ;
172+ await runtimeDeps . im . sendMessage ( channelId , threadId , singleChunk ) ;
173173 return ;
174174 }
175175
@@ -180,18 +180,18 @@ export function createCoreRuntime(deps: RuntimeDeps) {
180180 statusTs,
181181 ...( statusRateLimitError ? { error : statusRateLimitError } : { } ) ,
182182 } ) ;
183- await runtimeDeps . im . sendMessage ( channelId , threadId , singleChunk , true ) ;
183+ await runtimeDeps . im . sendMessage ( channelId , threadId , singleChunk ) ;
184184 return ;
185185 }
186186
187187 const maxEditableMessageChars = runtimeDeps . im . maxEditableMessageChars ;
188188 if ( typeof maxEditableMessageChars === "number" && singleChunk . length > maxEditableMessageChars ) {
189- await runtimeDeps . im . updateMessage ( channelId , statusTs , "Final result posted below." , false ) ;
190- await runtimeDeps . im . sendMessage ( channelId , threadId , singleChunk , true ) ;
189+ await runtimeDeps . im . updateMessage ( channelId , statusTs , "Final result posted below." ) ;
190+ await runtimeDeps . im . sendMessage ( channelId , threadId , singleChunk ) ;
191191 return ;
192192 }
193193
194- await runtimeDeps . im . updateMessage ( channelId , statusTs , singleChunk , true ) ;
194+ await runtimeDeps . im . updateMessage ( channelId , statusTs , singleChunk ) ;
195195 }
196196
197197 async function handleUserMessageInternal ( context : CoreMessageContext , text : string ) : Promise < void > {
0 commit comments