mirror of
https://github.com/openai/codex.git
synced 2026-10-27 18:48:37 +00:00
fix(core): restore v1 fork-context config guard
This commit is contained in:
@@ -77,7 +77,7 @@ impl ToolHandler for Handler {
|
||||
apply_role_to_config(&mut config, role_name)
|
||||
.await
|
||||
.map_err(FunctionCallError::RespondToModel)?;
|
||||
if fork_context {
|
||||
if args.fork_context {
|
||||
restore_forked_spawn_agent_model_config(&mut config, turn.as_ref());
|
||||
}
|
||||
apply_spawn_agent_runtime_overrides(&mut config, turn.as_ref())?;
|
||||
|
||||
Reference in New Issue
Block a user