Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(orchestration): deliver results from subagent follow-ups #15004

ClosedYash-Singh1(GitHub profile, opens in a new tab)wants to merge 30 commits intomain fromt3code/fix-followup-subagent-statusopened View on GitHub

Showing 37 changed files with 13 additions and 8 deletions (loading 34).

x
0 of 37 viewed, 37 left
7 additions and 3 deletionsapps/mobile/src/features/threads/ThreadRouteScreen.tsxModified
View file
@@ -694,7 +694,7 @@
if (
!selectedThread ||
!readEnvironmentScope(selectedThread.environmentId, AuthOrchestrationOperateScope) ||
- composer.interruptibleRunId === null
+ (composer.interruptibleRunId === null && selectedThread.pendingBackgroundTasks.length === 0)
) {
return;
@@ -702,7 +702,7 @@
environmentId: selectedThread.environmentId,
input: {
threadId: selectedThread.id,
- runId: composer.interruptibleRunId,
+ ...(composer.interruptibleRunId === null ? {} : { runId: composer.interruptibleRunId }),
});
}, [composer.interruptibleRunId, interruptThreadTurn, selectedThread]);
@@ -1093,7 +1093,11 @@
threadSyncStatus={selectedThreadDetailState.status}
historyControls={historyControls}
activeThreadBusy={composer.activeThreadBusy}
- canStopThread={awaitingBootstrapTurn || composer.interruptibleRunId !== null}
+ canStopThread={
+ awaitingBootstrapTurn ||
+ composer.interruptibleRunId !== null ||
+ selectedThread.pendingBackgroundTasks.length > 0
+ }