swapping order of checkpoint and tool result (#5853)
This commit is contained in:
1 parent
550883df6a
commit
f526317796
1 file changed
+2
-2
@@ -353,13 +353,13 @@ export class ToolExecutor {
|
||||
private async handleCompleteBlock(block: ToolUse, config: any): Promise<void> {
|
||||
// All tools are now fully self-managed and implement IPartialBlockHandler
|
||||
const result = await this.coordinator.execute(config, block)
|
||||
|
||||
await this.saveCheckpoint()
|
||||
this.pushToolResult(result, block)
|
||||
|
||||
// Handle focus chain updates
|
||||
if (!block.partial && this.focusChainSettings.enabled) {
|
||||
await this.updateFCListFromToolResponse(block.params.task_progress)
|
||||
}
|
||||
|
||||
await this.saveCheckpoint()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user