Chore: plan mode do not include free form question and always include isOther (#10210)

We should never ask a freeform question when planning and we should
always include isOther as an escape hatch.
This commit is contained in:
Shijie Rao
2026-01-30 01:19:24 -08:00
committed by GitHub
parent c0cad80668
commit a0ccef9d5c
6 changed files with 18 additions and 17 deletions

View File

@@ -75,7 +75,7 @@ For complete documentation of the `Op` and `EventMsg` variants, refer to [protoc
- `EventMsg`
- `EventMsg::AgentMessage` Messages from the `Model`
- `EventMsg::ExecApprovalRequest` Request approval from user to execute a command
- `EventMsg::RequestUserInput` Request user input for a tool call (questions can include options plus `isOther` to add a free-form choice)
- `EventMsg::RequestUserInput` Request user input for a tool call (questions must include options; the client always adds a free-form choice)
- `EventMsg::TurnComplete` A turn completed successfully
- `EventMsg::Error` A turn stopped with an error
- `EventMsg::Warning` A non-fatal warning that the client should surface to the user