From ec72b1ced9f38a7e44c2c3302fad86f8f5081452 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 13 Apr 2026 13:59:03 -0700 Subject: [PATCH] Update phase 2 memory model to gpt-5.4 (#17384) ### Motivation - Switch the default model used for memory Phase 2 (consolidation) to the newer `gpt-5.4` model. ### Description - Change the Phase 2 model constant from `"gpt-5.3-codex"` to `"gpt-5.4"` in `codex-rs/core/src/memories/mod.rs`. ### Testing - Ran `just fmt`, which completed successfully. - Attempted `cargo test -p codex-core`, but the build failed in this environment because the `codex-linux-sandbox` crate requires the system `libcap` pkg-config entry and the required system packages could not be installed, so the test run was blocked. ------ [Codex Task](https://chatgpt.com/codex/cloud/tasks/task_i_69d977693b48832a967e78d73c66dc8e)