mirror of
https://github.com/openai/codex.git
synced 2026-04-30 01:16:54 +00:00
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:
@@ -152,8 +152,7 @@ async fn request_user_input_round_trip_resolves_pending() -> anyhow::Result<()>
|
||||
answers.insert(
|
||||
"confirm_path".to_string(),
|
||||
RequestUserInputAnswer {
|
||||
selected: vec!["yes".to_string()],
|
||||
other: None,
|
||||
answers: vec!["yes".to_string()],
|
||||
},
|
||||
);
|
||||
let response = RequestUserInputResponse { answers };
|
||||
@@ -173,7 +172,7 @@ async fn request_user_input_round_trip_resolves_pending() -> anyhow::Result<()>
|
||||
output_json,
|
||||
json!({
|
||||
"answers": {
|
||||
"confirm_path": { "selected": ["yes"], "other": Value::Null }
|
||||
"confirm_path": { "answers": ["yes"] }
|
||||
}
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user