mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
nit: drop dead branch with unified_exec tool (#8182)
This commit is contained in:
@@ -37,9 +37,6 @@ pub enum ToolPayload {
|
||||
LocalShell {
|
||||
params: ShellToolCallParams,
|
||||
},
|
||||
UnifiedExec {
|
||||
arguments: String,
|
||||
},
|
||||
Mcp {
|
||||
server: String,
|
||||
tool: String,
|
||||
@@ -53,7 +50,6 @@ impl ToolPayload {
|
||||
ToolPayload::Function { arguments } => Cow::Borrowed(arguments),
|
||||
ToolPayload::Custom { input } => Cow::Borrowed(input),
|
||||
ToolPayload::LocalShell { params } => Cow::Owned(params.command.join(" ")),
|
||||
ToolPayload::UnifiedExec { arguments } => Cow::Borrowed(arguments),
|
||||
ToolPayload::Mcp { raw_arguments, .. } => Cow::Borrowed(raw_arguments),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user