fix(core): revert form service and mcp elicitation (#35080)

This commit is contained in:
Aiden Cline
2026-07-03 00:32:10 -05:00
committed by GitHub
parent 1de3c6e4a6
commit ef2140d121
73 changed files with 5874 additions and 5779 deletions
+4 -3
View File
@@ -255,9 +255,10 @@ async function runInteractiveRuntime(input: RunRuntimeInput, deps: RunRuntimeDep
return
}
await ctx.sdk.question.reply({
await ctx.sdk.v2.session.question.reply({
sessionID: state.sessionID,
requestID: next.requestID,
answers: next.answers ?? [],
questionV2Reply: { answers: next.answers ?? [] },
})
},
onQuestionReject: async (next) => {
@@ -265,7 +266,7 @@ async function runInteractiveRuntime(input: RunRuntimeInput, deps: RunRuntimeDep
return
}
await ctx.sdk.question.reject(next)
await ctx.sdk.v2.session.question.reject({ sessionID: state.sessionID, ...next })
},
onCycleVariant: () => {
if (!state.model || state.variants.length === 0) {