Compare commits

...

2 Commits

Author SHA1 Message Date
jif-oai
00538f2ed9 Merge branch 'main' into jif/enable-parallel-tc 2025-10-27 13:41:20 +00:00
jif-oai
ce5c0b6306 Enable parallel tc 2025-10-23 17:23:51 +01:00
2 changed files with 5 additions and 4 deletions

View File

@@ -160,6 +160,7 @@ pub fn find_family_for_model(slug: &str) -> Option<ModelFamily> {
slug, "gpt-5",
supports_reasoning_summaries: true,
needs_special_apply_patch_instructions: true,
supports_parallel_tool_calls: true,
)
} else {
None

View File

@@ -890,17 +890,17 @@ pub(crate) fn build_specs(
|| matches!(config.shell_type, ConfigShellToolType::Streamable);
if use_unified_exec {
builder.push_spec(create_exec_command_tool());
builder.push_spec(create_write_stdin_tool());
builder.push_spec_with_parallel_support(create_exec_command_tool(), true);
builder.push_spec_with_parallel_support(create_write_stdin_tool(), true);
builder.register_handler("exec_command", unified_exec_handler.clone());
builder.register_handler("write_stdin", unified_exec_handler);
}
match &config.shell_type {
ConfigShellToolType::Default => {
builder.push_spec(create_shell_tool());
builder.push_spec_with_parallel_support(create_shell_tool(), true);
}
ConfigShellToolType::Local => {
builder.push_spec(ToolSpec::LocalShell {});
builder.push_spec_with_parallel_support(ToolSpec::LocalShell {}, true);
}
ConfigShellToolType::Streamable => {
// Already handled by use_unified_exec.