cybercaius on Discord: after v0.1.1576 (a1174674d) Codex's subagents and
memories followed the session's magpie model, but the Codex app's
titles, descriptions and composer predictions, and memory consolidation
before any turn, still went to the ChatGPT sign-in's own models, and the
pickers had no "Same as the session" (跟随当前会话) option.
- Server.codexSessionOf is the session's model when it is one of
magpie's: the model the conversation's own turns last went on
(codexLeads: parent thread, own thread, else the key's last), else,
before any turn came through magpie, Codex's config model
(agent.CodexSideModel). A model turned off, gone or held from the
caller's key gives "".
- codexSideTo (titles, descriptions, summaries) and now predictions take
it when the setting is unset, so a session picked in the app, not
only in config.toml, keeps them off the ChatGPT allowance. A session on
Codex's own model leaves them as Codex sent them.
- codexFollowTo (subagents, memories) uses the same reader, so a memory
consolidation Codex runs at start follows the configured model.
- GUI: the unset option of the titles, descriptions and predictions
pickers is "Same as the session" now (it is what unset does), and the
memories row says so; tooltips in en, zh, zh-TW, ja and de.
Zero config: nothing to set; an explicit pick still wins.
Run at the pushed tree (on origin/main 88ac42843), go test -tags nogui
-count=1 -timeout 45m: internal/gateway ok 447s, internal/codexcat ok,
internal/gui ok, internal/agent/... ok; internal/provider crashes in
TestUnreadLoginsWriteErrorsKeepCredentials ("close of synctest channel
from outside bubble" in filememo.Forget), red the same alone on
origin/main 88ac42843, filed as #3632 with a patch there; with that
test skipped internal/provider ok 152s. gofmt -l clean; GOOS=linux go
vet -tags nogui ./... and GOOS=windows go vet ./... clean.
- GUI (playwright 1.62.0, chromium + webkit, en/zh/zh-TW/ja/de):
codex-titles, codex-descriptions, codex-predictions, codex-memories,
codex-memories-settings, codex-auto-review, codex-subagent-model,
codex-subagents-lead, agent-prefs, settings-general, i18n-keys, gui-ja,
gui-zh-tw, gui-de, search-keys: 189 of 189 pass.
Broken by hand: with codex_follow.go/codex_titles.go/codex_backend.go
reverted, TestCodexAppSideTurnsFollowTheSession,
TestCodexAppSideTurnsStayWithAnOwnModelSession and
TestCodexMemoriesBeforeAnyTurnFollowTheConfig fail; reverting only the
predictions route fails the first one's composer_predictions case.
Not tried: a real Codex app session; the side calls were driven through
the gateway with recorded request shapes in a sandbox HOME.