mirror of
https://github.com/openai/codex.git
synced 2026-04-24 22:54:54 +00:00
Feat: add isOther to question returned by request user input tool (#9890)
### Summary Add `isOther` to question object from request_user_input tool input and remove `other` option from the tool prompt to better handle tool input.
This commit is contained in:
@@ -2420,6 +2420,8 @@ pub struct ToolRequestUserInputQuestion {
|
||||
pub id: String,
|
||||
pub header: String,
|
||||
pub question: String,
|
||||
#[serde(default)]
|
||||
pub is_other: bool,
|
||||
pub options: Option<Vec<ToolRequestUserInputOption>>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user