feat(codex): support async questions #9512
Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits into
main fromrefs/pull/9512/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XL
- apps/server/src/orchestration/decider.ts line 1138Resolvedby t3dotgg(GitHub profile, opens in a new tab)@@ -1068,0 +1120,21 @@1120+ answers: command.answers,1121+ },1122+ },1123+ },1124+ {1125+ type: "thread.turn.start",1126+ commandId: command.commandId,1127+ threadId: command.threadId,1128+ createdAt: command.createdAt,1129+ runtimeMode: thread.runtimeMode,1130+ interactionMode: thread.interactionMode,1131+ message: {1132+ messageId: MessageId.make(`async-answer:${command.requestId}`),1133+ role: "user",1134+ text: replies.join("\n\n"),1135+ attachments: [],1136+ },1137+ },1138+ ],1139+ });1140+ }
- apps/server/src/orchestration/decider.ts line 1071OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1061,8 +1063,9 @@10611063 }1062106410631065 case "thread.user-input.respond": {1064- yield* requireThread({1066+ const thread = yield* requireThread({10651067 readModel,10661068 command,10671069 threadId: command.threadId,10681070 });1071+ const request = thread.activities.findLast(
- apps/server/src/provider/Layers/CodexAdapter.ts line 1449Resolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -1445,3 +1446,4 @@14451446 if (!item) {14461447 return [];14471448 }1449+ if (item.type === "agentMessage" && item.delivery === "async" && item.questions?.length) {
t3dotgg(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.



cursor[bot](GitHub profile, opens in a new tab) reviewed
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.