fix: keep workbench steer on durable projection (#2087)
This commit is contained in:
@@ -809,6 +809,20 @@ function nonBlockingProjection(projection: ProjectionDiagnostic | null): Project
|
||||
return false;
|
||||
}
|
||||
markWorkbenchSubmitApiAccepted(traceId);
|
||||
if (steerMode) {
|
||||
recordActivity("steer:accepted");
|
||||
chatPending.value = previousChatPending;
|
||||
currentRequest.value = {
|
||||
traceId,
|
||||
sessionId,
|
||||
threadId,
|
||||
status: "running"
|
||||
};
|
||||
void hydrateTraceEvents(messages.value);
|
||||
scheduleSessionListRefresh(sessionId, SESSION_LIST_TERMINAL_REFRESH_DELAY_MS);
|
||||
restartRealtime("steer");
|
||||
return true;
|
||||
}
|
||||
const canonicalTraceId = alignOptimisticTurnMessages(traceId, response.data);
|
||||
if (canonicalTraceId !== traceId) {
|
||||
reduceServerState({ type: "turn.forget", traceId });
|
||||
|
||||
Reference in New Issue
Block a user