Chore: update plan mode output in prompt (#9592)

### Summary
* Update plan prompt output
* Update requestUserInput response to be a single key value pair
`answer: String`.
This commit is contained in:
Shijie Rao
2026-01-21 14:12:18 -08:00
committed by GitHub
parent f2e1ad59bc
commit 3fcb40245e
7 changed files with 30 additions and 44 deletions

View File

@@ -2327,8 +2327,7 @@ pub struct ToolRequestUserInputParams {
#[ts(export_to = "v2/")]
/// EXPERIMENTAL. Captures a user's answer to a request_user_input question.
pub struct ToolRequestUserInputAnswer {
pub selected: Vec<String>,
pub other: Option<String>,
pub answers: Vec<String>,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]