Revert "Revert "Update models.json"" (#11256)

Reverts openai/codex#11255
This commit is contained in:
Ahmed Ibrahim
2026-02-09 19:22:41 -08:00
committed by GitHub
parent 34c88d10ea
commit d1df3bd63b
5 changed files with 374 additions and 621 deletions

View File

@@ -2361,7 +2361,8 @@ async fn steer_enter_submits_when_plan_stream_is_not_active() {
assert!(chat.queued_user_messages.is_empty());
match next_submit_op(&mut op_rx) {
Op::UserTurn {
personality: None, ..
personality: Some(Personality::Pragmatic),
..
} => {}
other => panic!("expected Op::UserTurn, got {other:?}"),
}
@@ -2912,7 +2913,7 @@ async fn collab_slash_command_opens_picker_and_updates_mode() {
mode: ModeKind::Default,
..
}),
personality: None,
personality: Some(Personality::Pragmatic),
..
} => {}
other => {
@@ -2930,7 +2931,7 @@ async fn collab_slash_command_opens_picker_and_updates_mode() {
mode: ModeKind::Default,
..
}),
personality: None,
personality: Some(Personality::Pragmatic),
..
} => {}
other => {
@@ -3128,7 +3129,7 @@ async fn collab_mode_is_sent_after_enabling() {
mode: ModeKind::Default,
..
}),
personality: None,
personality: Some(Personality::Pragmatic),
..
} => {}
other => {
@@ -3148,7 +3149,7 @@ async fn collab_mode_toggle_on_applies_default_preset() {
match next_submit_op(&mut op_rx) {
Op::UserTurn {
collaboration_mode: None,
personality: None,
personality: Some(Personality::Pragmatic),
..
} => {}
other => panic!("expected Op::UserTurn without collaboration_mode, got {other:?}"),
@@ -3166,7 +3167,7 @@ async fn collab_mode_toggle_on_applies_default_preset() {
mode: ModeKind::Default,
..
}),
personality: None,
personality: Some(Personality::Pragmatic),
..
} => {}
other => {