mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
tui/core: partially submit committed request_user_input answers on interrupt
This commit is contained in:
@@ -41,6 +41,8 @@ pub struct RequestUserInputAnswer {
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, JsonSchema, TS)]
|
||||
pub struct RequestUserInputResponse {
|
||||
pub answers: HashMap<String, RequestUserInputAnswer>,
|
||||
#[serde(default, skip_serializing_if = "std::ops::Not::not")]
|
||||
pub interrupted: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, JsonSchema, TS)]
|
||||
|
||||
Reference in New Issue
Block a user