Repository navigation
Description
What happened
When Devin asks a question with options (ask_user_question), the T3 Code composer won't take a typed answer. The text box is disabled, so I can only pick one of the listed options. Until mid-November I could pick an option or type my own answer. Devin's own CLI and other ACP clients offer an "Other" free-text answer for the same questions.
Diagnosis
Devin sends ask_user_question as a standard ACP form elicitation. A single-select question is a required string field with oneOf options. Devin marks free text as allowed in _meta (captured below).
Before #19659, the ACP adapter built these questions without allowCustomAnswer, and it passed a typed answer back as the field's value. #19659 added parseElicitationForm, which sets allowCustomAnswer: false on every choice, multi-choice and boolean field (packages/provider-acp/src/server/elicitationForm.ts:229-231). The only exception is a choice field with an optional <id>__other text companion, which #34867 added for OMP. The web composer then refuses typed text (apps/web/src/components/chat/ChatComposer.tsx:1608). On the way back, typedAnswer drops a choice answer that doesn't match a oneOf value. The required check then turns the response into cancel.
Nothing in packages/provider-acp reads _meta["cognition.ai/allowOther"], so every Devin choice question ends up choice-only.
Fix idea: when the elicitation has _meta["cognition.ai/allowOther"]: true, leave allowCustomAnswer unset for choice fields, and send typed text as the field's value. A Devin flavor extractElicitationForm could do the same.
Lines are from main @ 31706f3d. The same code ships in v0.1.10.
Steps to reproduce
- Add Devin as a provider (ACP registry) and start a thread.
- Ask: "Call ask_user_question once with a single-select question 'Which fruit?' and options Apple and Banana."
- The question card shows Apple and Banana.
- Try to type an answer such as "Mango" in the composer. The text box is disabled, so only Apple or Banana can be sent.
Version
0.1.10 (T3 Code (Beta) desktop app, local bundled server)
Environment
Windows 11 x64 (10.0.26200), Devin CLI 3000.11.205 via devin acp
Evidence
# elicitation/create params captured from `devin acp` (3000.11.205) for the prompt in step 2
{
"mode": "form",
"requestedSchema": {
"type": "object",
"properties": {
"q0": {
"type": "string",
"title": "Fruit",
"description": "Which fruit?",
"oneOf": [
{ "const": "Apple", "title": "Apple" },
{ "const": "Banana", "title": "Banana" }
]
}
},
"required": ["q0"]
},
"message": "Which fruit?",
"_meta": { "cognition.ai/allowOther": true, "cognition.ai/toolCallId": "call_..." }
}Related issues
#37111 / #37119 (Antigravity "Other" split into a separate step) and #22019 (Antigravity choice-only on purpose) cover Antigravity's own question path, not ACP form elicitation. #34867 restored free text only for OMP's __other companion field. None of them covers Devin, or agents that signal free text another way.
Fix applied or workaround
None applied. Workaround: pick any option, then give the real answer in a normal message.
Filed by
Claude Opus 5.5 (medium) via Devin CLI in T3 Code
Activity