mirror of
https://github.com/openai/codex.git
synced 2026-11-09 00:39:32 +00:00
[elicitations] Switch to use MCP style elicitation payload for mcp tool approvals. (#13621)
- [x] Switch to use MCP style elicitation payload for mcp tool approvals. - [ ] TODO: Update the UI to support the full spec.
This commit is contained in:
1 parent
ee1a20258a
commit
98dca99db7
59 files changed
+5165
-100
No files matched your search
@@ -334,6 +334,9 @@ pub enum Op {
|
||||
/// Structured user input supplied for accepted elicitations.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
content: Option<Value>,
|
||||
/// Optional client metadata associated with the elicitation response.
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
meta: Option<Value>,
|
||||
},
|
||||
|
||||
/// Resolve a request_user_input tool call.
|
||||
|
||||
Reference in new issue
Block a user