mirror of
https://github.com/openai/codex.git
synced 2026-05-17 17:53:06 +00:00
codex: fix CI failure on PR #15695
This commit is contained in:
@@ -1680,11 +1680,8 @@ async fn test_parallel_support_flags() {
|
||||
async fn test_test_model_info_includes_sync_tool() {
|
||||
let _config = test_config().await;
|
||||
let mut model_info = model_info_from_models_json("gpt-5-codex").await;
|
||||
model_info.experimental_supported_tools = vec![
|
||||
"test_sync_tool".to_string(),
|
||||
"read_file".to_string(),
|
||||
"list_dir".to_string(),
|
||||
];
|
||||
model_info.experimental_supported_tools =
|
||||
vec!["test_sync_tool".to_string(), "list_dir".to_string()];
|
||||
let features = Features::with_defaults();
|
||||
let available_models = Vec::new();
|
||||
let tools_config = ToolsConfig::new(&ToolsConfigParams {
|
||||
@@ -1703,11 +1700,6 @@ async fn test_test_model_info_includes_sync_tool() {
|
||||
.iter()
|
||||
.any(|tool| tool_name(&tool.spec) == "test_sync_tool")
|
||||
);
|
||||
assert!(
|
||||
tools
|
||||
.iter()
|
||||
.any(|tool| tool_name(&tool.spec) == "read_file")
|
||||
);
|
||||
assert!(tools.iter().any(|tool| tool_name(&tool.spec) == "list_dir"));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user