mirror of
https://github.com/openai/codex.git
synced 2026-11-25 15:24:26 +00:00
Support leaf models in multi-agent v2 (#36892)
## What changed - Allow multi-agent v2 parents to spawn any visible model that has not explicitly disabled multi-agent support. - Expose collaboration tools to child agents only when their selected model supports multi-agent v2, keeping legacy models as leaf workers. - Preserve a worker's selected model when reloading it into residency. - Propagate multi-agent capability metadata to Amazon Bedrock model entries so delegation is gated consistently. ## Testing - Cover model selection, leaf-worker tool visibility, Bedrock capability handling, and model preservation after reload. GitOrigin-RevId: 1457adb1a09806d1f0621311d5a42a6815b9dd4e
This commit is contained in:
1 parent
1669c2403f
commit
6d4d9442c7
11 files changed
+131
-61
No files matched your search
@@ -97,6 +97,7 @@ fn gpt_5_6_bedrock_model(
|
||||
);
|
||||
model.description = openai_model.description;
|
||||
model.default_reasoning_level = openai_model.default_reasoning_level;
|
||||
model.multi_agent_version = openai_model.multi_agent_version;
|
||||
model
|
||||
.supported_reasoning_levels
|
||||
.push(ReasoningEffortPreset {
|
||||
@@ -210,6 +211,7 @@ mod tests {
|
||||
expected.display_name = display_name.to_string();
|
||||
expected.description = openai_model.description;
|
||||
expected.default_reasoning_level = openai_model.default_reasoning_level;
|
||||
expected.multi_agent_version = openai_model.multi_agent_version;
|
||||
expected.priority = priority;
|
||||
expected
|
||||
.supported_reasoning_levels
|
||||
|
||||
Reference in new issue
Block a user