mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
Refactor settings updates to diff TurnContextItem
This commit is contained in:
@@ -561,11 +561,15 @@ fn append_rollout_turn_context(path: &Path, timestamp: &str, model: &str) -> std
|
||||
item: RolloutItem::TurnContext(TurnContextItem {
|
||||
turn_id: None,
|
||||
cwd: PathBuf::from("/"),
|
||||
shell: "zsh".to_string(),
|
||||
approval_policy: AskForApproval::Never,
|
||||
sandbox_policy: SandboxPolicy::DangerFullAccess,
|
||||
permissions_instructions: String::new(),
|
||||
network: None,
|
||||
model: model.to_string(),
|
||||
model_instructions: String::new(),
|
||||
personality: None,
|
||||
personality_spec: String::new(),
|
||||
collaboration_mode: None,
|
||||
effort: None,
|
||||
summary: ReasoningSummary::Auto,
|
||||
|
||||
Reference in New Issue
Block a user