mirror of
https://github.com/openai/codex.git
synced 2026-05-03 10:56:37 +00:00
feat: fork thread multi agent (#12499)
This commit is contained in:
@@ -633,6 +633,15 @@ fn create_spawn_agent_tool(config: &ToolsConfig) -> ToolSpec {
|
||||
)),
|
||||
},
|
||||
),
|
||||
(
|
||||
"fork_context".to_string(),
|
||||
JsonSchema::Boolean {
|
||||
description: Some(
|
||||
"When true, fork the current thread history into the new agent before sending the initial prompt. This must be used when you want the new agent to have exactly the same context as you."
|
||||
.to_string(),
|
||||
),
|
||||
},
|
||||
),
|
||||
]);
|
||||
|
||||
ToolSpec::Function(ResponsesApiTool {
|
||||
|
||||
Reference in New Issue
Block a user