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 authored and GitHub committed 2026-01-21 14:12:18 -08:00
1 parent f2e1ad59bc
commit 3fcb40245e
7 files changed
+30 -44

No files matched your search

@@ -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)]