feat(core): MCP elicitation support (#35064)

This commit is contained in:
Aiden Cline 2026-07-02 23:25:54 -05:00 committed by GitHub
commit efcf2c3f5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 1170 additions and 668 deletions

View file

@ -96,7 +96,7 @@ const layer = Layer.effectDiscard(
form
.ask({
sessionID: context.sessionID,
title: input.questions.length === 1 ? input.questions[0]?.header : "Questions",
...(input.questions.length === 1 ? {} : { title: "Questions" }),
metadata: {
kind: "question",
tool: { messageID: context.assistantMessageID, callID: context.toolCallID },