feat(core): add session form service (#34855)

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