enable unified exec for experiments (#7118)

This commit is contained in:
Ahmed Ibrahim
2025-11-21 13:10:01 -08:00
committed by GitHub
parent 8ecaad948b
commit d5f661c91d
3 changed files with 34 additions and 1 deletions

View File

@@ -121,4 +121,19 @@ async fn model_selects_expected_tools() {
],
"gpt-5.1 should expose the apply_patch tool",
);
let exp_tools = collect_tool_identifiers_for_model("exp-5.1").await;
assert_eq!(
exp_tools,
vec![
"exec_command".to_string(),
"write_stdin".to_string(),
"list_mcp_resources".to_string(),
"list_mcp_resource_templates".to_string(),
"read_mcp_resource".to_string(),
"update_plan".to_string(),
"apply_patch".to_string(),
"view_image".to_string()
],
"exp-5.1 should expose the apply_patch tool",
);
}