mirror of
https://github.com/openai/codex.git
synced 2026-11-25 15:24:26 +00:00
Remove legacy collaboration mode variants (#36990)
## What changed - Remove the hidden `PairProgramming` and `Execute` variants from `ModeKind`. - Delete their unused prompt templates and simplify mode handling to cover only `Default` and `Plan`. GitOrigin-RevId: 8d24e3f562a09e3071b2decae275d2b3871a1e9c
This commit is contained in:
1 parent
bae8d8f5b6
commit
11e390bb10
9 files changed
+2
-109
No files matched your search
@@ -3183,7 +3183,7 @@ fn sandbox_policy_mode(permission_profile: &PermissionProfile, cwd: &Path) -> &'
|
||||
fn collaboration_mode_mode(mode: ModeKind) -> &'static str {
|
||||
match mode {
|
||||
ModeKind::Plan => "plan",
|
||||
ModeKind::Default | ModeKind::PairProgramming | ModeKind::Execute => "default",
|
||||
ModeKind::Default => "default",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user