chore(config) enable shell_command (#6843)

## Summary
Enables shell_command as default for `gpt-5*` and `codex-*` models.

## Testing
- [x] Updated unit tests
This commit is contained in:
Dylan Hurd
2025-11-18 12:46:02 -08:00
committed by GitHub
parent 4bada5a84d
commit 29ca89c414
4 changed files with 16 additions and 35 deletions

View File

@@ -1292,11 +1292,7 @@ mod tests {
"gpt-5-codex",
&Features::with_defaults(),
&[
if cfg!(windows) {
"shell_command"
} else {
"shell"
},
"shell_command",
"list_mcp_resources",
"list_mcp_resource_templates",
"read_mcp_resource",
@@ -1313,11 +1309,7 @@ mod tests {
"gpt-5.1-codex",
&Features::with_defaults(),
&[
if cfg!(windows) {
"shell_command"
} else {
"shell"
},
"shell_command",
"list_mcp_resources",
"list_mcp_resource_templates",
"read_mcp_resource",
@@ -1392,11 +1384,7 @@ mod tests {
"gpt-5.1-codex-mini",
&Features::with_defaults(),
&[
if cfg!(windows) {
"shell_command"
} else {
"shell"
},
"shell_command",
"list_mcp_resources",
"list_mcp_resource_templates",
"read_mcp_resource",
@@ -1413,7 +1401,7 @@ mod tests {
"gpt-5.1",
&Features::with_defaults(),
&[
"shell",
"shell_command",
"list_mcp_resources",
"list_mcp_resource_templates",
"read_mcp_resource",