feat: remember codex fast mode for new chats#20670
Conversation
Co-Authored-By: Zero <zero@vm0.ai>
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
API preview: https://pr-20670-api.vm6.ai |
|
LGTM PR_AUTO_REVIEW_COMMIT: d431012 Summary:
Findings:
Testing:
|
|
LGTM PR_AUTO_REVIEW_COMMIT: 97f0216 Summary:
Findings:
Testing:
|
…to feat/codex-fast-mode-default
|
LGTM PR_AUTO_REVIEW_COMMIT: 0e10fb8 Summary:
Findings:
Testing:
|
|
LGTM PR_AUTO_REVIEW_COMMIT: 5491c48 SummaryThis PR persists the Codex service tier alongside the user's model-first preference and carries a saved Fast setting into new-chat defaults when the Codex fast feature switch and GPT 5.5 Codex route are available. It also validates Fast server-side for preference updates, empty-thread creation, and normal sends, and adds the Drizzle migration/schema field needed to store the preference. FindingsCritical (P0)
High Priority (P1)
Testing
|
|
LGTM PR_AUTO_REVIEW_COMMIT: e84cdc9 SummaryThis PR persists the Codex service tier with the user's model preference, threads that value through new-chat default model selection, and stores the tier on empty-thread and normal-send creation paths. The backend validates Fast mode behind the feature switch and eligible GPT 5.5 Codex OAuth route, and the DB change is a nullable additive column with a Drizzle migration. FindingsCritical (P0)
High Priority (P1)
Testing
|
|
LGTM PR_AUTO_REVIEW_COMMIT: 055bab9 SummaryThis PR persists the Codex service tier with the existing user model preference, adds the Drizzle column/migration, and applies the saved Fast preference to new-chat model-first defaults only when the Codex fast switch and eligible GPT 5.5 Codex OAuth route are available. It also carries the tier through empty-thread creation and normal send paths with server-side validation. FindingsCritical (P0)
High Priority (P1)
Testing
|
|
Closing per request; this change is no longer being pursued. |
Summary
Verification
pnpm exec prettier --write --ignore-unknown <changed files>pnpm --filter @vm0/app exec vitest run src/views/zero-page/__tests__/chat-composer-models-and-templates.test.tsxNODE_OPTIONS=--max-old-space-size=4096 pnpm --filter api check-typesNODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @vm0/app exec tsc -p tsconfig.production.json --noEmitNODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @vm0/app exec tsc -p tsconfig.tests.json --noEmitpnpm --filter @vm0/api-contracts check-typespnpm --filter @vm0/db check-typespnpm --filter @vm0/api-contracts lintpnpm --filter @vm0/db lintNODE_OPTIONS=--max-old-space-size=4096 pnpm --filter api lintNODE_OPTIONS=--max-old-space-size=4096 pnpm --filter @vm0/app lintAPI BDD attempts were blocked by the local test Postgres being unavailable (
ECONNREFUSEDduring onboarding setup):pnpm --filter api exec vitest run src/signals/routes/__tests__/user-config.bdd.test.tspnpm --filter api exec vitest run src/signals/routes/__tests__/chat-threads.bdd.test.ts -t "persists Codex fast mode when creating an empty thread"